/* ===========================
   RESET
=========================== */
:root {
  --bg: #020617;
  --card: #0f172a;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --accent: #06b6d4;
  --text: #f8fafc;
  --border: rgba(255, 255, 255, 0.08);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

/* ===========================
   CONTAINER
=========================== */

.container {
  width: min(90%, 1200px);

  margin: auto;
}
/* ===========================
   HEADER
=========================== */
body {
  background: var(--bg);

  font-family: "Manrope", sans-serif;
  color: var(--text);

  overflow-x: hidden;
}
.header {
  position: fixed;

  width: 100%;

  top: 0;

  left: 0;

  backdrop-filter: blur(15px);

  background: rgba(2, 6, 23, 0.8);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  z-index: 999;
}

/* ===========================
   NAVBAR
=========================== */

.header .container {
  height: 90px;

  display: flex;

  justify-content: space-between;

  align-items: center;
}

/* ===========================
   LOGO
=========================== */

.logo {
  display: flex;

  align-items: center;
}

.logo img {
  height: 56px;
  width: auto;
}

.nav-links {
  display: flex;

  align-items: center;

  gap: 42px;

  list-style: none;
}
.nav-links a {
  position: relative;

  color: var(--text);

  text-decoration: none;

  font-size: 16px;

  font-weight: 600;

  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}
.nav-links a.active {
  color: #22c7ff;
}

.nav-links a.active::after {
  width: 100%;
}
.btn-primary {
  display: flex;

  align-items: center;

  gap: 10px;

  padding: 14px 28px;

  background: linear-gradient(135deg, #2563eb, #06b6d4);

  border-radius: 12px;

  color: white;

  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.3s,
    box-shadow 0.3s,
    background 0.3s;

  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}
.nav-links a::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: -8px;

  width: 0;

  height: 2px;

  background: var(--accent);

  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  width: 100%;
}
.btn-primary:hover {
  transform: translateY(-3px);

  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.35);
}

/* ===========================
   MENU TOGGLE (HAMBURGER)
   Hidden on desktop, shown on mobile via media query.
=========================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1003;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s ease;
}
/*==================================
            HERO
==================================*/

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
}
.hero-image img {
  width: 100%;
  max-width: 620px;
  height: auto;
  filter: drop-shadow(0 0 60px rgba(34, 199, 255, 0.28));
  animation: float 5s ease-in-out infinite;
  margin-top: -20px;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-15px);
  }
}
.hero-tag {
  display: inline-block;

  padding: 10px 20px;

  border-radius: 50px;

  background: rgba(37, 99, 235, 0.15);

  color: #06b6d4;

  margin-bottom: 20px;

  font-weight: 700;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 68px);

  line-height: 1.1;

  margin-bottom: 35px;

  font-family: "Space Grotesk", sans-serif;
}

.hero h1 span {
  color: #06b6d4;
}

.hero p {
  font-size: clamp(16px, 2vw, 20px);

  line-height: 1.8;
  max-width: 620px;
  color: #cbd5e1;

  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  margin-top: 50px;
  gap: 24px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);

  background-size: 60px 60px;

  opacity: 0.35;

  z-index: -3;
}
.hero::before {
  content: "";

  position: absolute;

  width: 650px;

  height: 650px;

  background: radial-gradient(
    circle,
    rgba(34, 199, 255, 0.08),
    transparent 70%
  );

  left: -150px;

  top: 80px;

  filter: blur(60px);
}
.btn-secondary {
  padding: 14px 28px;

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 12px;

  color: white;

  text-decoration: none;

  transition: 0.3s;
}

.btn-secondary:hover {
  background: #0f172a;
  border-color: #06b6d4;
  color: #06b6d4;
}

.hero-image {
  display: flex;

  justify-content: center;
}

/* ===========================
   SERVICES
=========================== */

.services {
  padding: 120px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 70px;
}

.section-title span {
  display: inline-block;
  padding: 8px 18px;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 50px;
  color: #06b6d4;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.section-title h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.section-title h2 span {
  background: none;
  border: none;
  padding: 0;
  color: #06b6d4;
  font-size: 48px;
}

.section-title p {
  max-width: 650px;
  margin: auto;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1.8;
}

/* ===========================
   SERVICES GRID
=========================== */

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

/* ===========================
   SERVICE CARD
=========================== */

.service-card {
  background: #0b1120;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 35px;
  transition: 0.35s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #2563eb;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.18);
}

/* Top Glow */

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  transform: scaleX(0);
  transition: 0.35s;
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* ===========================
   ICON
=========================== */

.service-icon {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #06b6d4;
  margin-bottom: 25px;
  transition: 0.3s;
}

.service-card:hover .service-icon {
  transform: rotate(-8deg) scale(1.08);
}

/* ===========================
   CONTENT
=========================== */

.service-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #fff;
}

.service-card p {
  color: #94a3b8;
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 25px;
}

/* ===========================
   BUTTON
=========================== */

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #06b6d4;
  font-weight: 600;
  transition: 0.3s;
}

.service-link:hover {
  gap: 14px;
}
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 36px;
  }
}
/* ===========================
   WHY EZRA
=========================== */

.why {
  padding: 120px 0;
  padding-bottom: 70px;
}

.why-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 30px;
}

.why-card {
  background: #0b1120;

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 20px;

  padding: 35px;

  min-height: 280px;

  display: flex;

  flex-direction: column;

  justify-content: flex-start;

  transition: 0.35s;
}

.why-card:hover {
  transform: translateY(-10px);

  border-color: #2563eb;

  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.why-icon {
  width: 72px;

  height: 72px;

  border-radius: 18px;

  display: flex;

  justify-content: center;

  align-items: center;

  background: rgba(37, 99, 235, 0.12);

  color: #06b6d4;

  font-size: 30px;
}

.why-card h3 {
  margin: 18px 0;

  font-size: 26px;
}

.why-card p {
  color: #94a3b8;

  line-height: 1.8;

  font-size: 17px;
}
/* ===========================
   FEATURED PROJECTS
=========================== */

.portfolio {
  position: relative;
  padding: 120px 0;
  padding-top: 70px;
  background: transparent;
  padding-bottom: 60px;
  overflow: hidden;
}
.portfolio-btn {
  margin-top: 70px;
  display: flex;
  justify-content: center;
}

.portfolio-btn .btn-primary {
  padding: 18px 42px;
  border-radius: 16px;
  font-size: 17px;
  font-weight: 700;

  background: linear-gradient(135deg, #2563eb, #06b6d4);

  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.25);
}
.portfolio-btn .btn-primary:hover {
  transform: translateY(-6px) scale(1.03);

  box-shadow: 0 25px 55px rgba(6, 182, 212, 0.35);

  background: linear-gradient(135deg, #1d4ed8, #22d3ee);
}
.portfolio::before {
  content: "";
  position: absolute;

  width: 650px;
  height: 650px;

  left: 50%;
  top: 40%;

  transform: translate(-50%, -50%);

  background: #2563eb;

  filter: blur(180px);

  opacity: 0.08;

  z-index: -1;
}
.portfolio::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  background: #00d4ff;
  filter: blur(180px);
  opacity: 0.08;
  bottom: -200px;
  right: -150px;
}

.project-card {
  background: rgba(13, 21, 37, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  height: auto;

  transition:
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover {
  transform: translateY(-6px);

  border-color: #26c6ff;

  box-shadow:
    0 25px 55px rgba(38, 198, 255, 0.18),
    0 0 45px rgba(38, 198, 255, 0.12);
}
.project-content {
  padding: 24px;
}
.project-content h3 {
  font-size: 28px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}
.project-content p {
  font-size: 17px;
  color: #9aa5b5;
  line-height: 1.8;
  margin-bottom: 18px;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.project-image {
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.project-image img {
  will-change: transform;
}
.project-link {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  margin-top: 22px;

  color: #26c6ff;

  font-weight: 700;

  text-decoration: none;

  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-link:hover {
  gap: 15px;
}
.project-category {
  display: inline-block;

  margin-bottom: 12px;

  font-size: 13px;

  letter-spacing: 2px;

  font-weight: 700;

  color: #26c6ff;

  text-transform: uppercase;
}
.project-card:hover img {
  transform: scale(1.08);
}
.project-tags span {
  padding: 8px 15px;

  border-radius: 30px;

  background: rgba(38, 198, 255, 0.12);

  border: 1px solid rgba(38, 198, 255, 0.25);

  color: #26c6ff;

  font-size: 13px;

  font-weight: 600;
}

.section-title span {
  color: #26c6ff;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
  text-transform: uppercase;
}

.section-title h2 {
  margin-top: 15px;
  font-size: 42px;
  color: #fff;
}

.section-title h2 span {
  color: #26c6ff;
}

.section-title p {
  width: 60%;
  margin: 20px auto 0;
  color: #9ca8c7;
  line-height: 1.8;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 70px;
  align-items: start;
}
@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title p {
    width: 90%;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .section-title h2 {
    font-size: 32px;
  }
}
.browser-bar {
  height: 40px;
  background: #111c2f;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-radius: 18px 18px 0 0;
}

.browser-bar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.browser-bar span:nth-child(1) {
  background: #ff5f57;
}

.browser-bar span:nth-child(2) {
  background: #febc2e;
}

.browser-bar span:nth-child(3) {
  background: #28c840;
}
/* ==========================
   Statistics
========================== */

.stats {
  padding: 60px 8% 100px;
  background: transparent;
  position: relative;
  overflow: hidden;
  padding-top: 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 60px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 25px;
  text-align: center;
  backdrop-filter: blur(20px);
  transition: 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-8px);
  border-color: #00bfff;
  box-shadow: 0 15px 35px rgba(0, 191, 255, 0.2);
}

.stat-card h3 {
  font-size: 56px;
  font-weight: 800;
  color: #00bfff;
  margin-bottom: 12px;
  line-height: 1;
}

.stat-card p {
  color: #d5dbe7;
  font-size: 18px;
  font-weight: 500;
}

/* Responsive */

@media (max-width: 991px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card h3 {
    font-size: 46px;
  }
}
/* ===========================
   OUR PROCESS
=========================== */

.process {
  padding: 120px 0;
  position: relative;
}

.process-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;

  margin-top: 70px;
}

.process-card {
  position: relative;

  overflow: hidden;

  background: rgba(255, 255, 255, 0.04);

  backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 20px;

  padding: 40px 35px;

  transition: 0.45s;
}

.process-card:hover {
  transform: translateY(-10px);

  border-color: #26c6ff;

  box-shadow:
    0 20px 45px rgba(38, 198, 255, 0.18),
    0 0 50px rgba(38, 198, 255, 0.12);
}

.process-card::before {
  content: "";

  position: absolute;

  left: 0;

  top: 0;

  width: 100%;

  height: 4px;

  background: linear-gradient(90deg, #2563eb, #06b6d4);

  transform: scaleX(0);

  transition: 0.4s;
}

.process-card:hover::before {
  transform: scaleX(1);
}

.process-number {
  position: absolute;

  right: 25px;

  top: 20px;

  font-size: 62px;

  font-weight: 800;

  color: rgba(255, 255, 255, 0.05);

  font-family: "Space Grotesk", sans-serif;
}

.process-icon {
  width: 74px;

  height: 74px;

  border-radius: 18px;

  display: flex;

  justify-content: center;

  align-items: center;

  background: rgba(37, 99, 235, 0.12);

  color: #26c6ff;

  font-size: 30px;

  margin-bottom: 28px;

  transition: 0.35s;
}

.process-card:hover .process-icon {
  transform: rotate(-8deg) scale(1.08);
}

.process-card h3 {
  font-size: 28px;

  margin-bottom: 18px;

  color: #fff;
}

.process-card p {
  color: #94a3b8;

  line-height: 1.8;

  font-size: 17px;
}

@media (max-width: 992px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process {
    padding: 90px 0;
  }
}
/* ===========================
   TECH STACK
=========================== */

.tech-stack {
  padding: 120px 0;
  position: relative;
}

.tech-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 30px;

  margin-top: 70px;
}

.tech-card {
  background: rgba(255, 255, 255, 0.04);

  backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 22px;

  padding: 45px 25px;

  text-align: center;

  transition: 0.45s;

  position: relative;

  overflow: hidden;
}

.tech-card::before {
  content: "";

  position: absolute;

  left: 0;

  top: 0;

  width: 100%;

  height: 4px;

  background: linear-gradient(90deg, #2563eb, #06b6d4);

  transform: scaleX(0);

  transition: 0.4s;
}

.tech-card:hover::before {
  transform: scaleX(1);
}

.tech-card:hover {
  transform: translateY(-10px);

  border-color: #26c6ff;

  box-shadow:
    0 20px 45px rgba(38, 198, 255, 0.18),
    0 0 45px rgba(38, 198, 255, 0.12);
}

.tech-card i {
  font-size: 62px;

  color: #26c6ff;

  margin-bottom: 25px;

  transition: 0.4s;
}

.tech-card:hover i {
  transform: rotate(-8deg) scale(1.15);
}

.tech-card h3 {
  font-size: 22px;

  color: #fff;

  font-weight: 700;
}

@media (max-width: 992px) {
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .tech-grid {
    grid-template-columns: 1fr;
  }
}
/* ===========================
   CTA
=========================== */

.tech-stack {
  padding-top: 120px;
  padding-bottom: 60px;
}

.cta {
  padding-top: 40px;
  padding-bottom: 120px;
}
.cta h2 {
  max-width: 900px;
  margin: 25px auto;
  line-height: 1.15;
}
.cta-box {
  text-align: center;

  padding: 90px 70px;

  border-radius: 28px;

  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.18),
    rgba(6, 182, 212, 0.12)
  );

  border: 1px solid rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(20px);

  position: relative;

  overflow: hidden;
}

.cta-box::before {
  content: "";

  position: absolute;

  width: 450px;

  height: 450px;

  background: #2563eb;

  filter: blur(180px);

  opacity: 0.18;

  left: -120px;

  top: -150px;
}

.cta span {
  color: #26c6ff;

  font-size: 14px;

  letter-spacing: 2px;

  font-weight: 700;
}

.cta h2 {
  margin: 25px 0;

  font-size: 54px;

  line-height: 1.2;
}

.cta h2 span {
  color: #26c6ff;
}

.cta p {
  max-width: 760px;

  margin: auto;

  color: #94a3b8;

  line-height: 1.8;

  font-size: 19px;
}

.cta-buttons {
  margin-top: 45px;

  display: flex;

  justify-content: center;

  gap: 25px;

  flex-wrap: wrap;
}
/* ===========================
   FOOTER
=========================== */

.footer {
  padding: 90px 0 30px;

  background: #070d1d;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  z-index: -1;
}
.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1.2fr;

  gap: 50px;
}

.footer-logo {
  width: 170px;

  margin-bottom: 25px;
}

.footer-col p {
  color: #94a3b8;

  line-height: 1.9;
}

.footer-col h3 {
  margin-bottom: 22px;

  color: #fff;

  font-size: 22px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  color: #94a3b8;

  margin-bottom: 15px;

  transition: 0.3s;
}

.footer-col ul li a {
  color: #94a3b8;

  text-decoration: none;
}

.footer-col ul li:hover {
  color: #26c6ff;

  transform: translateX(6px);
}

.footer-social {
  display: flex;

  gap: 18px;

  margin-top: 30px;
}

.footer-social a {
  width: 48px;

  height: 48px;

  border-radius: 50%;

  display: flex;

  justify-content: center;

  align-items: center;

  background: rgba(255, 255, 255, 0.05);

  color: #26c6ff;

  font-size: 20px;

  transition: 0.4s;
}

.footer-social a:hover {
  background: #26c6ff;

  color: #fff;

  transform: translateY(-6px);
}

.footer-btn {
  margin-top: 20px;

  display: inline-flex;
}

.footer-bottom {
  margin-top: 70px;

  padding-top: 30px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  display: flex;

  justify-content: space-between;

  align-items: center;

  flex-wrap: wrap;
}

.footer-bottom p {
  color: #64748b;
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;

    gap: 15px;

    text-align: center;
  }
}
.cursor-glow {
  position: fixed;

  left: 0;
  top: 0;

  width: 650px;
  height: 650px;

  border-radius: 50%;
  pointer-events: none;

  z-index: -1;

  will-change: transform;

  background: radial-gradient(
    circle,
    rgba(34, 199, 255, 0.22) 0%,
    rgba(34, 199, 255, 0.12) 30%,
    rgba(34, 199, 255, 0.06) 55%,
    transparent 75%
  );

  filter: blur(100px);
}
/* ==========================================
   RESPONSIVE - EZRA BUILDS
   Paste at the END of style.css
========================================== */
/* ===========================
   MOBILE MENU
=========================== */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 370px;
  max-width: 92%;
  height: 100vh;
  padding: 80px 35px 40px;
  background: rgba(2, 6, 23, 0.96);
  backdrop-filter: blur(25px);
  display: flex;
  flex-direction: column;
  gap: 25px;
  z-index: 1002;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  overflow-y: auto;
}

.mobile-logo {
  margin-bottom: 10px;
}

.mobile-logo img {
  width: 130px;
  height: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 14px 0;
}

.mobile-menu a:hover {
  color: #22c7ff;
  padding-left: 10px;
  transform: translateX(8px);
}
.mobile-menu a.active {
  color: #22c7ff;
}
.mobile-menu a.active::before {
  content: "";
  width: 4px;
  height: 20px;
  background: #22c7ff;
  border-radius: 10px;
  margin-right: 10px;
  display: inline-block;
}

.mobile-menu a.btn-primary {
  justify-content: center;
  margin-top: 10px;
}
.close-menu {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
}

.close-menu:hover {
  background: #ef4444;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1001;
}

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

/* ==========================
   MINIMAL INFINITY LOADER — EZRA BUILDS
   Responsive on desktop and mobile
========================== */
#loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  background: #02040b;
  padding: 24px;
}
.loader-content {
  width: min(90vw, 460px);
  text-align: center;
}
.loader-logo-image {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto 22px;
  object-fit: contain;
}
.loader-text {
  margin: 0;
  color: #a8b7cc;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
}
.loading-dots {
  display: inline-block;
  width: 20px;
  text-align: left;
  overflow: hidden;
  vertical-align: bottom;
  animation: loadingDots 1.2s steps(4, end) infinite;
}
@keyframes loadingDots {
  0% { width: 0; }
  100% { width: 20px; }
}
@media (max-width: 480px) {
  #loader { padding: 20px; }
  .loader-content { width: min(88vw, 360px); }
  .loader-logo-image { margin-bottom: 18px; }
}
@media (max-width: 480px) {
  .loader-visual { width: min(78vw, 340px); }
  .loader-logo-image { width: 38%; left: 31%; top: 36%; }
  .loader-wordmark { top: 57%; font-size: clamp(13px, 3.8vw, 16px); }
}
@media (prefers-reduced-motion: reduce) {
  .loading-dots { animation: none; }
}
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #22c7ff);
  z-index: 99999;
  box-shadow: 0 0 15px rgba(34, 199, 255, 0.5);
}
/* ==========================
   HERO MOBILE FIX
========================== */
/* ==========================================================
   RESPONSIVE - EZRA BUILDS
========================================================== */

@media (max-width: 768px) {
  .container {
    width: 90%;
    margin: 0 auto;
  }

  /* Header */

  .header {
    padding: 0;
  }

  .header .container {
    height: 64px;
  }

  .navbar,
  .nav-links,
  .header .btn-primary {
    display: none;
  }

  .logo img {
    height: 42px;
  }

  .menu-toggle {
    display: flex;
    width: 44px;
    height: 44px;
    margin-left: auto;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

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

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Hero */

  .hero {
    min-height: calc(100svh - 64px);
    padding: 110px 0 70px;
    display: flex;
    align-items: center;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 35px;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    width: 100%;
    max-width: 340px;
    height: auto;
    margin: auto;
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1.08;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 17px;
    line-height: 1.8;
    margin: 20px auto 30px;
    max-width: 100%;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .hero-buttons a {
    width: 100%;
    max-width: 300px;
  }

  /* Sections */

  .services,
  .why,
  .portfolio,
  .stats,
  .process,
  .tech-stack,
  .cta {
    padding: 70px 0;
  }

  .cta-box {
    padding: 50px 24px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .section-title {
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 20px;
  }

  /* Services */

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card {
    padding: 32px;
  }

  /* Why */

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  /* Portfolio */

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-card img {
    height: 220px;
    object-fit: cover;
  }

  /* Process */

  .process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Tech */

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  /* Footer */

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 35px;
  }

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

@media (max-width: 480px) {
  .hero h1 {
    font-size: 40px;
  }

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

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

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

  .stats-grid,
  .services-grid,
  .portfolio-grid,
  .process-grid {
    gap: 18px;
  }

  .hero-buttons a,
  .cta-buttons a {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

/* ===========================
   BOOK CONSULTATION MODAL
=========================== */

.booking-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(6px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

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

.booking-modal {
  position: relative;
  width: min(92%, 520px);
  max-height: 90vh;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  transform: translateY(30px) scale(0.97);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.booking-modal-body {
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px 32px;
}

.booking-overlay.active .booking-modal {
  transform: translateY(0) scale(1);
}

/* Custom scrollbar - laptop/desktop only, mobile keeps default */
@media (min-width: 561px) {
  .booking-modal-body {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(255, 255, 255, 0.05);
  }

  .booking-modal-body::-webkit-scrollbar {
    width: 6px;
  }

  .booking-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
  }

  .booking-modal-body::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
  }

  .booking-modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
  }

  .booking-modal-body::-webkit-scrollbar-button {
    display: none;
    height: 0;
    width: 0;
  }
}

.booking-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.booking-close:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.booking-header {
  margin-bottom: 24px;
}

.booking-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 10px;
}

.booking-header h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 26px;
  margin-bottom: 8px;
}

.booking-header p {
  font-size: 14px;
  color: rgba(248, 250, 252, 0.65);
  line-height: 1.5;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.booking-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.booking-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-field label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.85);
}

.booking-field input,
.booking-field select,
.booking-field textarea {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  outline: none;
  transition: 0.3s;
}

.booking-field textarea {
  resize: vertical;
}

.booking-field input::placeholder,
.booking-field textarea::placeholder {
  color: rgba(248, 250, 252, 0.35);
}

.booking-field input:focus,
.booking-field select:focus,
.booking-field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.booking-field select option {
  background: var(--card);
  color: var(--text);
}

.booking-submit {
  justify-content: center;
  border: none;
  cursor: pointer;
  margin-top: 6px;
  width: 100%;
}

.booking-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.booking-error {
  display: none;
  font-size: 13px;
  color: #f87171;
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: 8px;
  padding: 10px 14px;
}

.booking-error.active {
  display: block;
}

.booking-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px 0;
}

.booking-success.active {
  display: flex;
}

.booking-success i {
  font-size: 52px;
  color: var(--accent);
}

.booking-success h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 24px;
}

.booking-success p {
  font-size: 14px;
  color: rgba(248, 250, 252, 0.65);
  line-height: 1.5;
}

.booking-success button {
  margin-top: 8px;
  padding: 12px 32px;
  background: transparent;
  border: 1px solid var(--accent);
  border-radius: 12px;
  color: var(--accent);
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.booking-success button:hover {
  background: var(--accent);
  color: var(--bg);
}

.booking-form.hidden {
  display: none;
}

body.booking-open {
  overflow: hidden;
}

@media (max-width: 560px) {
  .booking-modal-body {
    padding: 32px 20px;
  }

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

/* ===========================
   SCROLL TO TOP BUTTON
=========================== */

.scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--primary);
  color: white;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary-hover);
}

@media (max-width: 560px) {
  .scroll-top {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
    font-size: 14px;
  }
}


/* Organized technology groups — added without replacing existing theme styles. */
.tech-stack .tech-category { margin-top: 54px; }
.tech-stack .tech-category:first-of-type { margin-top: 58px; }
.tech-stack .tech-category-heading { display:flex; align-items:baseline; justify-content:space-between; gap:24px; margin-bottom:0; }
.tech-stack .tech-category-heading > span { color:#08c4df; font-size:13px; font-weight:800; letter-spacing:2px; }
.tech-stack .tech-category-heading p { max-width:650px; margin:0; color:#91a4bf; font-size:14px; line-height:1.7; text-align:right; }
.tech-stack .tech-category .tech-grid { margin-top:22px; }
.tech-stack .tech-card { animation:techCardRise .65s both; }
.tech-stack .tech-card:nth-child(2n) { animation-delay:70ms; }
.tech-stack .tech-card:nth-child(3n) { animation-delay:130ms; }
@keyframes techCardRise { from { opacity:0; transform:translateY(14px); } to { opacity:1; transform:translateY(0); } }
@media (max-width:768px) { .tech-stack .tech-category-heading { display:block; } .tech-stack .tech-category-heading p { text-align:left; margin-top:8px; } .tech-stack .tech-category { margin-top:38px; } }
@media (prefers-reduced-motion: reduce) { .tech-stack .tech-card { animation:none; } }


/* Spam-protection honeypot: keep it available to the form handler but invisible to visitors. */
.form-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}


/* Discreet copyright link: the destination stays behind the existing footer wording. */
.footer-bottom .copyright-tracker-link {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}
.footer-bottom .copyright-tracker-link:hover,
.footer-bottom .copyright-tracker-link:focus-visible {
  color: var(--accent);
}
@media (prefers-reduced-motion: reduce) {
  .loader-logo-image, .loader-mark-glow, .loader-orbit {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}


/* Premium neon orbit loading screen */
#loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 24px;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(0, 113, 255, .10) 0%, rgba(0, 31, 75, .06) 26%, transparent 53%),
    #020308;
}
.loader-content {
  width: min(92vw, 560px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translateY(-1.5vh);
}
.loader-visual {
  position: relative;
  width: min(70vw, 400px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.loader-aura {
  position: absolute;
  width: 54%;
  height: 54%;
  border-radius: 50%;
  background: rgba(0, 136, 255, .13);
  filter: blur(44px);
  animation: loaderAura 3.8s ease-in-out infinite;
  z-index: -1;
}
.loader-orbit-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: loaderOrbitRotate 34s linear infinite;
}
.loader-orbit-svg .orbit {
  fill: none;
  vector-effect: non-scaling-stroke;
}
.orbit-base {
  stroke: rgba(25, 94, 190, .24);
  stroke-width: 1.5;
}
.orbit-dotted {
  stroke: rgba(0, 188, 255, .48);
  stroke-width: 2;
  stroke-dasharray: 1 9;
  stroke-linecap: round;
  animation: loaderDash 18s linear infinite;
}
.orbit-arc {
  stroke: url(#loaderOrbitGradient);
  stroke: #087dff;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 145 1010;
  filter: drop-shadow(0 0 5px rgba(0, 166, 255, .9)) drop-shadow(0 0 12px rgba(0, 91, 255, .45));
}
.orbit-arc-one { animation: loaderArcOne 3.8s ease-in-out infinite alternate; }
.orbit-arc-two { animation: loaderArcTwo 3.8s ease-in-out infinite alternate; }
.orbit-inner {
  stroke: rgba(14, 91, 207, .58);
  stroke-width: 2;
  stroke-dasharray: 180 820;
  stroke-linecap: round;
}
.orbit-inner-one { animation: loaderInnerOne 5s ease-in-out infinite alternate; }
.orbit-inner-two { animation: loaderInnerTwo 5s ease-in-out infinite alternate; }
.orbit-node {
  fill: #eafcff;
  filter: drop-shadow(0 0 5px #00cfff) drop-shadow(0 0 13px #087dff);
}
.orbit-node-one { animation: loaderNodeOne 3.8s ease-in-out infinite alternate; }
.orbit-node-two { animation: loaderNodeTwo 3.8s ease-in-out infinite alternate; }
.loader-logo-image {
  display: block;
  position: absolute;
  top: 36%;
  left: 31%;
  width: 38%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 7px rgba(0, 119, 255, .25));
  animation: loaderLogoPulse 3.4s ease-in-out infinite;
}
.loader-wordmark {
  position: absolute;
  top: 57%;
  left: 0;
  width: 100%;
  color: #f6f8ff;
  font-size: clamp(14px, 2.1vw, 19px);
  font-weight: 800;
  letter-spacing: .11em;
  line-height: 1.2;
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(0, 145, 255, .18);
}
.loader-wordmark span {
  background: linear-gradient(95deg, #0877ff 0%, #00d9ed 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.loader-text {
  margin: 2px 0 0;
  color: #a8b7cc;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 158, 255, .2);
}
.loading-dots {
  display: inline-block;
  width: 1.7em;
  text-align: left;
  overflow: hidden;
  vertical-align: bottom;
  animation: loadingDots 1.15s steps(4, end) infinite;
}
@keyframes loadingDots { 0% { width: 0; } 100% { width: 1.7em; } }
@keyframes loaderOrbitRotate { to { transform: rotate(360deg); } }
@keyframes loaderDash { to { stroke-dashoffset: -180; } }
@keyframes loaderArcOne { from { stroke-dashoffset: 0; opacity: .85; } to { stroke-dashoffset: -75; opacity: 1; } }
@keyframes loaderArcTwo { from { stroke-dashoffset: 70; opacity: .85; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes loaderInnerOne { from { stroke-dashoffset: 60; opacity: .55; } to { stroke-dashoffset: -35; opacity: .95; } }
@keyframes loaderInnerTwo { from { stroke-dashoffset: -40; opacity: .45; } to { stroke-dashoffset: 55; opacity: .85; } }
@keyframes loaderNodeOne { from { transform: translate(-1px, 1px); } to { transform: translate(2px, -1px); } }
@keyframes loaderNodeTwo { from { transform: translate(1px, -1px); } to { transform: translate(-2px, 1px); } }
@keyframes loaderLogoPulse { 0%, 100% { filter: drop-shadow(0 0 4px rgba(0, 119, 255, .18)); } 50% { filter: drop-shadow(0 0 11px rgba(0, 171, 255, .4)); } }
@keyframes loaderAura { 0%, 100% { opacity: .5; transform: scale(.9); } 50% { opacity: 1; transform: scale(1.1); } }
@media (max-width: 480px) {
  .loader-content { width: 100%; }
  .loader-visual { width: min(84vw, 360px); }
  .loader-wordmark { font-size: clamp(18px, 5vw, 25px); }
  .loader-text { font-size: 11px; margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .loader-orbit-svg, .orbit-dotted, .orbit-arc-one, .orbit-arc-two,
  .orbit-inner-one, .orbit-inner-two, .orbit-node-one, .orbit-node-two,
  .loader-logo-image, .loader-aura, .loading-dots {
    animation: none !important;
  }
}
