/* ================= ROOT ================= */
:root {
  --bg-dark: #0b0f19;
  --bg-darker: #020617;
  --text-light: #e5e7eb;
  --muted: #9ca3af;

  --neon-blue: #22d3ee;
  --neon-purple: #8b5cf6;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 
              Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', 
              sans-serif sans-serif;
}

body {
  background: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
}

/* ================= INTRO SCREEN ================= */
#intro-screen {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(600px circle at 50% 20%, rgba(34,211,238,0.08), transparent 40%),
    radial-gradient(500px circle at 80% 70%, rgba(139,92,246,0.06), transparent 45%),
    linear-gradient(180deg, #020617, #000);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  perspective: 1200px;
  overflow: hidden;
}

/* ================= CONTENT ================= */
.intro-content {
  text-align: center;
  transform-style: preserve-3d;
  animation: contentFloat 6s ease-in-out infinite;
}

/* ================= LOGO ================= */
.intro-logo {
  width: 220px;
  margin-bottom: 22px;
  transform-origin: center;
  transform: translateZ(70px);
  filter:
    drop-shadow(0 25px 50px rgba(34,211,238,0.45))
    drop-shadow(0 10px 20px rgba(139,92,246,0.25));
  animation: logoZoom 4.5s cubic-bezier(.4,0,.2,1) infinite;
}

/* Smooth breathing zoom */
@keyframes logoZoom {
  0% {
    transform: translateZ(70px) scale(1);
  }
  50% {
    transform: translateZ(105px) scale(1.1);
  }
  100% {
    transform: translateZ(70px) scale(1);
  }
}

/* ================= TEXT ================= */
.intro-content h1 {
  color: #e5e7eb;
  font-size: 2.3rem;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  transform: translateZ(45px);
}

.intro-content p {
  color: #9ca3af;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
  transform: translateZ(25px);
}

/* ================= FLOAT ================= */
@keyframes contentFloat {
  0% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
  100% { transform: translateY(0); }
}

/* ================= EXIT ================= */
#intro-screen {
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#intro-screen.fade-out {
  opacity: 0;
  transform: scale(1.08);
}

/* ================= MAIN SITE ================= */
.hidden {
  display: none;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 146px;
  /* slightly larger navbar */
  z-index: 1000;

  display: flex;
  align-items: center;

  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(11, 15, 25, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.18);
}

.navbar-inner {
  max-width: 1400px;
  width: 100%;
  margin: auto;

  padding: 0 106px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo img {
  height: 172px;
  margin-top: 13px;
  filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.45));
}

/* NAV LINKS */
.nav-links a {
  margin-left: 38px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--text-light);

  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-links a:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(34, 211, 238, 0.8);
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  padding-top: 130px;
  /* hero pushed down */
  overflow: hidden;
}

.hero-content h1 {
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  letter-spacing: 1.2px;
}

/* VIDEO BACKGROUND */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
}

/* DARK OVERLAY */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(2, 6, 23, 0.62),
      rgba(2, 6, 23, 0.82),
      rgba(2, 6, 23, 0.78));
  z-index: -2;
}

/* HERO LAYOUT */
.hero-inner {
  max-width: 1400px;
  height: 100%;
  margin: auto;
  padding: 0 80px;

  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

/* ================= LEFT CONTENT ================= */
.hero-content h1 {
  font-size: 58px;
  line-height: 1.15;
  margin-bottom: 22px;
}

.hero-content h1 span {
  color: var(--neon-blue);
  text-shadow: 0 0 22px rgba(34, 211, 238, 0.7);
}

.hero-content p {
  font-size: 18px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 42px;
}

/* CTA BUTTON (works for <a> and <button>) */
.cta {
  display: inline-flex;            /* 🔥 important */
  align-items: center;
  justify-content: center;

  padding: 14px 36px;
  font-size: 16px;
  font-weight: 500;

  border: none;
  border-radius: 999px;

  background: linear-gradient(135deg,
      var(--neon-blue),
      var(--neon-purple));

  color: #020617;
  text-decoration: none;           /* 🔥 remove underline */

  cursor: pointer;

  margin-left: 0;                  /* ❗ remove -8px shift */

  box-shadow: 0 0 28px rgba(34, 211, 238, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Prevent blue/visited color */
.cta:link,
.cta:visited {
  color: #020617;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(139, 92, 246, 0.7);
}

/* ================= RIGHT IMAGE ================= */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  height: 520px;
  max-width: 100%;
  object-fit: contain;

  filter: drop-shadow(0 0 60px rgba(34, 211, 238, 0.35));
  animation: float 6s ease-in-out infinite;
}

/* FLOATING ANIMATION */
@keyframes float {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }

  100% {
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    align-items: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-content p {
    margin: 0 auto;
    max-width: 600px;
  }

  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }

  .hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-visual img {
    height: 360px;
    max-width: 100%;
  }

}

@media (max-width: 768px) {
  .navbar {
    height: 80px;
  }

  .logo img {
    height: 44px;
  }

  .nav-links {
    display: none;
    /* mobile menu later */
  }

  .hero-content h1 {
    font-size: 42px;
  }
}
/* ================= HERO BUTTON GROUP ================= */
.hero-buttons {
  display: flex;
  gap: 18px;
  margin-left: -8px; /* keeps alignment same as before */
}

/* Secondary Button */
.cta.secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid rgba(229, 231, 235, 0.35);
  box-shadow: none;
}

.cta.secondary:hover {
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.35);
}

/* ================= STATS STRIP ================= */
.stats-strip {
  background: linear-gradient(
    to bottom,
    rgba(250, 250, 251, 0.9),
    rgb(237, 237, 240)
  );
  padding: 22px 0;
}

.stats-inner {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: center;
  gap: 60px;
  text-align: center;
}

.stat-item {
  font-size: 15px;
  color: rgba(14, 14, 14, 0.85);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
}

/* ================= SERVICES SECTION ================= */
.services {
  background: #ffffff;
  padding: 120px 20px 70px;
}

.services-inner {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.services h2 {
  font-size: 56px;
  font-weight: 700;
  color: #0f172a; /* dark navy like screenshot */
  margin-bottom: 18px;
}

.services p {
  font-size: 20px;
  color: #64748b; /* soft gray-blue */
  max-width: 720px;
  margin: auto;
  line-height: 1.6;
}

/* ================= SERVICES CARDS ================= */
.services-cards {
  background: #ffffff;
  padding: 10px 20px 140px;
}

.services-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.service-card {
  text-decoration: none;
  border-radius: 32px;
  padding: 42px;
  display: flex;
  flex-direction: column;
  gap: 18px;

  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

/* Hover effect */
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

/* COLOR VARIANTS */
.service-card.blue {
  background: #eef5ff;
}
.service-card.blue:hover {
  background: #e1ecff;
}

.service-card.purple {
  background: #f7f3ff;
}
.service-card.purple:hover {
  background: #eee7ff;
}

.service-card.green {
  background: #edfbf4;
}
.service-card.green:hover {
  background: #e0f6eb;
}

.service-card.yellow {
  background: #fff8e7;
}
.service-card.yellow:hover {
  background: #fff1cf;
}

/* ICON */
.icon-box {
  width: 64px;
  height: 64px;
  background: #ffffff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}

/* TEXT */
.service-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
}

.service-card p {
  font-size: 17px;
  color: #64748b;
  line-height: 1.6;
  max-width: 420px;
}

/* TAGS */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

.tags span {
  padding: 8px 16px;
  background: #ffffff;
  border-radius: 999px;
  font-size: 14px;
  color: #0f172a;
  border: 1px solid #e5e7eb;
}

/* LEARN MORE */
.learn-more {
  margin-top: auto;
  font-size: 16px;
  color: #2563eb;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ================= SCROLL ANIMATION SETUP ================= */
.service-card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    transform 0.8s cubic-bezier(.4,0,.2,1),
    opacity 0.8s ease;
}

/* FROM LEFT */
.service-card.from-left {
  transform: translateX(-80px);
}

/* FROM RIGHT */
.service-card.from-right {
  transform: translateX(80px);
}

/* ACTIVE (WHEN VISIBLE) */
.service-card.show {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* ================= STATS SECTION ================= */
.stats-section {
  background: #f4f8ff;
  padding: 80px 20px;
}

.stats-inner {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-icon {
  width: 58px;
  height: 58px;
  background: #88a1d5;
  color: #fff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.stat-card h3 {
  font-size: 48px;
  font-weight: 700;
  color: #0f172a;
}

.stat-card p {
  font-size: 18px;
  color: #64748b;
}

/* Hide stats section on tablet & mobile */
@media (max-width: 1024px) {
  .stats-section {
    display: none;
  }
}

/* ================= TRUST SECTION ================= */
.trust-section {
  background: #f3f8ff;
  padding: 50px 20px;
}

.trust-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* LEFT */
.trusted-companies h2 {
  font-size: 38px;
  margin-bottom: 40px;
  color: #0f172a;
}

.company-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.logo-box {
  background: #fff;
  border-radius: 20px;
  padding: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.logo-box img {
  height: 40px;
  object-fit: contain;
}

/* RIGHT */
.testimonial-box {
  background: #fff;
  border-radius: 32px;
  padding: 50px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.testimonial {
  display: none;
}

.testimonial.active {
  display: block;
}

.testimonial p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
  color: #0f172a;
}

.author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #2563eb;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .stats-inner,
  .trust-inner {
    grid-template-columns: 1fr;
  }
}

/* ================= OUR PROCESS ================= */
.process-section {
  background: #ffffff;
  padding: 120px 20px;
  perspective: 1200px; /* 👈 Enables 3D depth */
}

.process-inner {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.process-inner h2 {
  font-size: 56px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.process-subtitle {
  font-size: 20px;
  color: #64748b;
  margin-bottom: 80px;
}

/* STEP CIRCLES */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 40px;
}

.step-circle {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  margin: auto;
  box-shadow:
    0 15px 30px rgba(37, 99, 235, 0.4),
    0 5px 15px rgba(0,0,0,0.1);

  transition: transform 0.4s ease;
}

.process-item:hover .step-circle {
  transform: translateY(-6px) scale(1.05);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: start;
}

.process-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-item .step-circle {
  margin-bottom: 30px;
}

.process-card {
  background: #f7faff;
  border-radius: 28px;
  padding: 40px 30px;
  text-align: left;

  position: relative;
  transform-style: preserve-3d;

  box-shadow:
    0 20px 40px rgba(0,0,0,0.06),
    0 8px 16px rgba(0,0,0,0.04);

  transition:
    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.5s ease;
}

.process-card:hover {
  transform: translateY(-12px) rotateX(4deg) rotateY(-4deg);
  box-shadow:
    0 40px 70px rgba(0,0,0,0.18),
    0 20px 30px rgba(37, 99, 235, 0.15);
}

.process-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: linear-gradient(
    120deg,
    rgba(255,255,255,0.6),
    transparent 40%
  );

  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.process-card:hover::before {
  opacity: 1;
}

/* ICON */
.process-icon {
  width: 60px;
  height: 60px;
  background: #ffffff;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

/* TEXT */
.process-card h3 {
  font-size: 26px;
  color: #0f172a;
  margin-bottom: 6px;
}

.process-time {
  font-size: 15px;
  color: #2563eb;
  font-weight: 600;
}

.process-card p {
  font-size: 16px;
  color: #64748b;
  margin: 16px 0 20px;
  line-height: 1.6;
}

.process-card ul {
  list-style: none;
  padding: 0;
}

.process-card ul li {
  font-size: 15px;
  color: #475569;
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
}

.process-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0px); }
}

.process-card {
  animation: float 6s ease-in-out infinite;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .process-grid,
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {

  .process-grid {
    grid-template-columns: 1fr;
    row-gap: 125px; /* 👈 space between each step */
  }

  .step-circle {
    margin: 0 auto 25px;
  }

}

/* ================= FEATURED PROJECTS ================= */
.projects-section {
  background: #f6f9fc;
  padding: 120px 20px;
  perspective: 1200px;   /* 👈 Enables 3D space */
}

.projects-inner {
  max-width: 1200px;
  margin: auto;
}

/* HEADER */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.projects-header h2 {
  font-size: 56px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
}

.projects-header p {
  font-size: 20px;
  color: #64748b;
  max-width: 620px;
}

/* VIEW ALL BUTTON */
.view-all-btn {
  padding: 16px 30px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #0f172a;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.35s ease;
}

.view-all-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.18);
}

/* GRID */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ================= CARD (PREMIUM EFFECT) ================= */
.project-card {
  position: relative;
  background: #ffffff;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid #e5e7eb;

  transform-style: preserve-3d;
  transform: rotateX(0deg) rotateY(0deg);  /* 👈 ADD THIS */

  box-shadow: 0 15px 35px rgba(0,0,0,0.06);

  transition: 
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

@keyframes tiltSwing {
  0%   { transform: translateY(-8px) rotateY(-3deg) rotateX(1.5deg); }
  50%  { transform: translateY(-8px) rotateY(3deg) rotateX(-1.5deg); }
  100% { transform: translateY(-8px) rotateY(-3deg) rotateX(1.5deg); }
}

/* GLOW LAYER */
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;

  background: radial-gradient(
    900px circle at top left,
    rgba(37, 99, 235, 0.12),
    transparent 45%
  );

  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.project-card:hover {
  animation: tiltSwing 1.8s ease-in-out infinite;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.14),
    0 0 0 1px rgba(37, 99, 235, 0.08);
}

.project-card:not(:hover) {
  animation: none;
}

.project-card:hover::before {
  opacity: 1;
}

/* IMAGE */
.project-image {
  position: relative;
  height: 240px;
  background: #e5e7eb;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BADGE */
.project-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ffffff;
  color: #2563eb;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* CONTENT */
.project-content {
  padding: 34px;
}

.project-category {
  font-size: 14px;
  font-weight: 700;
  color: #2563eb;
  letter-spacing: 1px;
}

.project-content h3 {
  font-size: 28px;
  color: #0f172a;
  margin: 12px 0;
}

.project-content p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 22px;
}

/* TAGS */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
}

.project-tags span {
  padding: 8px 16px;
  background: #f1f5f9;
  border-radius: 999px;
  font-size: 14px;
  color: #0f172a;
}

/* LINK */
.case-link {
  font-size: 16px;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
}

.case-link:hover {
  text-decoration: underline;
}

/* ================= RESPONSIVE IMPROVED ================= */

/* ====== Large Tablets (1024px) ====== */
@media (max-width: 1024px) {

  .projects-section {
    padding: 100px 20px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 34px;
  }

  .projects-header h2 {
    font-size: 46px;
  }

}


/* ====== Tablets & Small Laptops (768px) ====== */
@media (max-width: 768px) {

  .projects-section {
    padding: 80px 20px;
  }

  .projects-grid {
    gap: 38px;
  }

  .project-image {
    height: 220px;
  }

  .project-content {
    padding: 28px;
  }

  .project-content h3 {
    font-size: 24px;
  }

  .project-card:hover {
    animation: none;
    transform: translateY(-8px);
    box-shadow:
      0 20px 40px rgba(0,0,0,0.1),
      0 0 0 1px rgba(37, 99, 235, 0.08);
  }
}


/* ====== Mobile (640px) ====== */
@media (max-width: 640px) {

  .projects-section {
    padding: 70px 18px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .projects-header h2 {
    font-size: 36px;
  }

  .projects-header p {
    font-size: 16px;
  }

  .view-all-btn {
    width: 100%;
    text-align: center;
  }

  .project-image {
    height: 200px;
  }

  .project-content {
    padding: 24px;
  }

  .project-content h3 {
    font-size: 22px;
  }

  .project-content p {
    font-size: 15px;
  }

  .project-tags span {
    font-size: 13px;
    padding: 6px 14px;
  }

}

/* ================= CTA SECTION ================= */
.cta-section {
  padding: 120px 20px;
  background: #ffffff;
}

.cta-box {
  max-width: 1200px;
  margin: auto;
  padding: 100px 40px;
  border-radius: 48px;

  background: linear-gradient(
    135deg,
    #2563eb,
    #1d4ed8
  );

  text-align: center;
  color: #ffffff;

  box-shadow: 0 40px 80px rgba(37, 99, 235, 0.35);
}

/* HEADING */
.cta-box h2 {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}

/* SUBTEXT */
.cta-box p {
  font-size: 20px;
  opacity: 0.9;
  max-width: 720px;
  margin: 0 auto 50px;
}

/* FORM */
.cta-form {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.cta-form input {
  width: 320px;
  padding: 18px 26px;
  border-radius: 999px;
  border: none;
  outline: none;
  font-size: 16px;
}

.cta-form button {
  padding: 18px 36px;
  border-radius: 999px;
  border: none;
  background: #ffffff;
  color: #2563eb;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.35s ease;
}

.cta-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* CONTACT INFO */
.cta-contact {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 16px;
  opacity: 0.95;
  flex-wrap: wrap;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .cta-box h2 {
    font-size: 44px;
  }

  .cta-box {
    padding: 80px 24px;
  }

  .cta-form input {
    width: 100%;
    max-width: 360px;
  }
}

/* ================= FOOTER ================= */
.footer {
  background: #f8fafc;
  padding: 90px 20px 30px;
  border-top: 1px solid #e2e8f0;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}

/* BRAND */
.footer-brand p {
  font-size: 16px;
  color: #64748b;
  line-height: 1.6;
  margin: 20px 0 26px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  width: 42px;
  height: 42px;
}

.brand-logo span {
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
}

/* SOCIALS */
.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  width: 44px;
  height: 44px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #2563eb;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.footer-socials a:hover {
  transform: translateY(-4px);
}

/* COLUMNS */
.footer-column h4 {
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  font-size: 16px;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 14px;
  transition: color 0.25s ease;
}

.footer-column a:hover {
  color: #2563eb;
}

/* BOTTOM */
.footer-bottom {
  max-width: 1200px;
  margin: 60px auto 0;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 15px;
  color: #64748b;
}

.footer-links {
  display: flex;
  gap: 26px;
}

.footer-links a {
  font-size: 15px;
  color: #64748b;
  text-decoration: none;
}

.footer-links a:hover {
  color: #2563eb;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 520px) {
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
}


/* ================= PAGE STARTING SECTION START ================= */
/* ================= PAGE VIDEO BACKGROUND ================= */
.page-video-bg {
  position: relative;
  height: 60vh;
  min-height: 420px;
  width: 100%;
  overflow: hidden;
}

/* VIDEO */
.page-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.page-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(2, 6, 23, 0.85),
    rgba(2, 6, 23, 0.75)
  );
}

@media (max-width: 768px) {
  .page-video-bg {
    height: 55vh;
    min-height: 360px;
  }
}

/* ================= PAGE VIDEO TEXT ================= */
.page-video-content {
  position: relative;
  z-index: 2;
  height: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  color: #ffffff;
}

/* HEADING */
.page-video-content h1 {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;

  text-shadow:
    0 6px 20px rgba(0, 0, 0, 0.65),
    0 0 30px rgba(34, 211, 238, 0.35);
}

/* BREADCRUMB */
.page-video-content p {
  font-size: 16px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  opacity: 0.95;
}

.page-video-content a {
  color: #e5e7eb;
  text-decoration: none;
}

.page-video-content a:hover {
  color: #22d3ee;
}

.page-video-content span {
  color: #22d3ee;
  font-weight: 600;
}

@media (max-width: 768px) {
  .page-video-content h1 {
    font-size: 40px;
  }

  .page-video-content p {
    font-size: 14px;
  }
}
/* ================= PAGE STARTING SECTION END ================= */

/* ================= SERVICES SECTION ================= */

.service-section {
  padding: 120px 20px;
  background: #ffffff;
}

.service-section:nth-child(even) {
  background: #f8fafc;   /* subtle alternating background */
}

/* ================= CONTAINER ================= */

.service-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

/* Reverse Layout */
.service-container.reverse {
  direction: rtl;
}

.service-container.reverse > * {
  direction: ltr;
}

/* ================= LEFT CONTENT ================= */

.service-left h2 {
  font-size: 44px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.service-left p {
  font-size: 18px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 32px;
}

.service-left h4 {
  font-size: 24px;
  margin: 40px 0 20px;
  color: #0f172a;
}

/* ================= LIST ================= */

.service-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.service-list li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 18px;
  color: #475569;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 700;
}

/* ================= TAGS ================= */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.tags span {
  background: #f1f5f9;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 15px;
  color: #0f172a;
}

/* ================= SUCCESS BOX ================= */

.success-box {
  padding: 24px 28px;
  background: #f8fafc;
  border-left: 5px solid #2f5cff;
  border-radius: 16px;
}

.success-box h5 {
  font-size: 14px;
  letter-spacing: 2px;
  color: #2f5cff;
  margin-bottom: 12px;
}

.success-box p {
  font-size: 18px;
  font-style: italic;
  color: #0f172a;
  line-height: 1.6;
}

/* ================= RIGHT SIDE ================= */

.service-right {
  position: sticky;
  top: 140px;
  background: #ffffff;
  padding: 40px;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.06);
  height: fit-content;
}

.service-right h3 {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #0f172a;
}

/* ================= TECH GRID ================= */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.tech-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 24px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  border: 2px solid transparent;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);

  transition: all 0.3s ease;
}

.tech-card img {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
}

.tech-card span {
  font-size: 17px;
  font-weight: 600;
  color: #0f172a;
}

/* Hover Effect */
.tech-card:hover {
  border-color: #2f5cff;
  box-shadow: 0 20px 40px rgba(47, 92, 255, 0.18);
  transform: translateY(-6px);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1024px) {

  .service-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .service-container.reverse {
    direction: ltr;
  }

  .service-right {
    position: relative;
    top: 0;
  }

}

@media (max-width: 640px) {

  .service-left h2 {
    font-size: 32px;
  }

  .service-left p {
    font-size: 16px;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .service-right {
    padding: 30px;
  }

}

/* ===============================
   SERVICE PAGE CTA
   =============================== */

.service-cta {
  padding: 120px 20px;
  background: #eef2f7;
  text-align: center;
}

.service-cta-container {
  max-width: 900px;
  margin: auto;
}

.service-cta-title {
  font-size: 46px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.service-cta-text {
  font-size: 20px;
  color: #64748b;
  margin-bottom: 50px;
  line-height: 1.6;
}

/* BUTTON WRAPPER */
.service-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* BASE BUTTON */
.service-btn {
  padding: 18px 42px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* PRIMARY BUTTON */
.primary-btn {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
}

.primary-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

/* SECONDARY BUTTON */
.secondary-btn {
  border: 1px solid #cbd5e1;
  color: #1e293b;
  background: transparent;
}

.secondary-btn:hover {
  background: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .service-cta-title {
    font-size: 32px;
  }

  .service-cta-text {
    font-size: 16px;
  }

  .service-btn {
    width: 100%;
    text-align: center;
  }
}
/* ================= SERVICE PAGE END ================= */



/* ================= ABOUT PAGE START ================= */
/*About image*/
/* ==============================
   MISSION SECTION V2
   ============================== */

.mission-section-v2 {
  padding: 120px 40px;
  background: linear-gradient(to bottom, #f3f4f6, #e9edf3);
}

.mission-wrapper {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

/* LEFT SIDE IMAGE */
.mission-image-area {
  flex: 1;
  display: flex;
  justify-content: center;
}

.mission-image-circle {
  width: 290px;
  height: 290px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
  border: 8px solid #ffffff;
  transition: 0.4s ease;
}

.mission-image-circle:hover {
  transform: scale(1.03);
}

.mission-image-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* RIGHT CONTENT */
.mission-content-area {
  flex: 1;
}

.mission-icon {
  font-size: 28px;
  margin-bottom: 15px;
}

.mission-title {
  font-size: 44px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 25px;
}

.mission-text {
  font-size: 18px;
  color: #475569;
  line-height: 1.8;
  margin-bottom: 20px;
}

/* ==============================
   STATS SECTION V2
   ============================== */

.stats-section-v2 {
  padding: 90px 40px;
  background: #eef2f7;
}

.stats-container-v2 {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  text-align: center;
  flex-wrap: wrap;
  gap: 40px;
}

.stat-box-v2 {
  flex: 1;
  min-width: 200px;
}

.stat-box-v2 h2 {
  font-size: 64px;
  font-weight: 800;
  color: #2f62d6; /* Blue like screenshot */
  margin-bottom: 15px;
}

.stat-box-v2 p {
  font-size: 20px;
  color: #64748b;
  font-weight: 500;
}

/* ==============================
   CORE VALUES V2
   ============================== */

.core-values-v2 {
  padding: 120px 40px;
  background: #f3f6fb;
}

.core-header-v2 {
  text-align: center;
  margin-bottom: 80px;
}

.core-header-v2 h2 {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 15px;
}

.core-header-v2 p {
  font-size: 20px;
  color: #64748b;
}

/* Grid */
.core-grid-v2 {
  max-width: 1099px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* Card */
.core-card-v2 {
  background: #ffffff;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

.core-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.core-card-v2 h3 {
  font-size: 26px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
}

.core-card-v2 p {
  font-size: 18px;
  color: #64748b;
  line-height: 1.7;
}

/* Icon Box */
.core-icon-v2 {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 30px;
}

/* Soft Background Colors */
.icon-blue {
  background: #e6efff;
  color: #2f62d6;
}

.icon-green {
  background: #e7f5ee;
  color: #16a34a;
}

.icon-purple {
  background: #f1eafe;
  color: #7c3aed;
}

.icon-yellow {
  background: #fef6e7;
  color: #ca8a04;
}

/* ==============================
   WHY CHOOSE US V2 (WITH IMAGE)
   ============================== */

.why-section-v2 {
  padding: 120px 40px;
  background: #f8fafc;
}

.why-wrapper-v2 {
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

/* LEFT SIDE */
.why-content-area-v2 {
  flex: 1;
}

.why-header-v2 h2 {
  font-size: 42px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 15px;
}

.why-header-v2 p {
  font-size: 20px;
  color: #64748b;
  margin-bottom: 50px;
}

.why-list-v2 {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.why-item-v2 h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.why-item-v2 p {
  font-size: 17px;
  color: #64748b;
  line-height: 1.7;
  max-width: 600px;
}

/* ==============================
   PREMIUM SQUARE IMAGE STYLE
   ============================== */

.why-image-area-v3 {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Outer Frame */
.image-frame-v3 {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: 25px; /* soft square edges */
  overflow: hidden;
  background: #ffffff;
  padding: 15px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
  transition: 0.4s ease;
}

/* Decorative background layer */
.image-frame-v3::before {
  content: "";
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2f62d6, #6c63ff);
  border-radius: 25px;
  z-index: -1;
}

/* Image */
.image-frame-v3 img {
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: cover;
  display: block;
}

/* Hover Effect */
.image-frame-v3:hover {
  transform: translateY(-10px);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
  .why-wrapper-v2 {
    flex-direction: column;
  }

  .why-header-v2 h2 {
    font-size: 32px;
  }

  .why-image-area-v2 img {
    margin-top: 40px;
  }
}

/* =========================================
   GLOBAL RESPONSIVE IMPROVEMENTS
========================================= */

@media (max-width: 1200px) {
  .mission-wrapper,
  .why-wrapper-v2 {
    gap: 50px;
  }
}

/* =========================================
   TABLET (992px)
========================================= */

@media (max-width: 992px) {

  /* Mission Section */
  .mission-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }

  .mission-title {
    font-size: 34px;
  }

  .mission-text {
    font-size: 17px;
    max-width: 600px;
    margin: 0 auto 20px;
  }

  .mission-image-circle {
    width: 240px;
    height: 240px;
  }

  /* Stats Section */
  .stats-container-v2 {
    justify-content: center;
    gap: 50px;
  }

  .stat-box-v2 h2 {
    font-size: 48px;
  }

  .stat-box-v2 p {
    font-size: 18px;
  }

  /* Core Values */
  .core-grid-v2 {
    grid-template-columns: 1fr;
  }

  .core-header-v2 h2 {
    font-size: 32px;
  }

  .core-card-v2 {
    padding: 40px 30px;
  }

  /* Why Section */
  .why-wrapper-v2 {
    flex-direction: column;
    text-align: center;
    gap: 60px;
  }

  .why-header-v2 h2 {
    font-size: 32px;
  }

  .why-header-v2 p {
    font-size: 18px;
  }

  .why-item-v2 p {
    margin: 0 auto;
  }

  .image-frame-v3 {
    max-width: 400px;
  }
}


/* =========================================
   MOBILE (768px)
========================================= */

@media (max-width: 768px) {

  .mission-section-v2,
  .core-values-v2,
  .why-section-v2 {
    padding: 80px 25px;
  }

  .stats-section-v2 {
    padding: 70px 25px;
  }

  .mission-title {
    font-size: 28px;
  }

  .core-header-v2 h2,
  .why-header-v2 h2 {
    font-size: 26px;
  }

  .core-header-v2 p,
  .why-header-v2 p {
    font-size: 16px;
  }

  .core-card-v2 {
    padding: 35px 25px;
  }

  .core-card-v2 h3 {
    font-size: 22px;
  }

  .core-card-v2 p {
    font-size: 16px;
  }

  .stat-box-v2 h2 {
    font-size: 40px;
  }

  .stat-box-v2 p {
    font-size: 16px;
  }

  .mission-image-circle {
    width: 200px;
    height: 200px;
  }

  .image-frame-v3 {
    max-width: 100%;
  }
}


/* =========================================
   SMALL MOBILE (480px)
========================================= */

@media (max-width: 480px) {

  .mission-section-v2,
  .core-values-v2,
  .why-section-v2,
  .stats-section-v2 {
    padding: 60px 20px;
  }

  .mission-title {
    font-size: 24px;
  }

  .mission-text {
    font-size: 15px;
  }

  .core-card-v2 {
    padding: 30px 20px;
  }

  .core-card-v2 h3 {
    font-size: 20px;
  }

  .core-card-v2 p {
    font-size: 15px;
  }

  .stat-box-v2 h2 {
    font-size: 32px;
  }

  .stat-box-v2 p {
    font-size: 14px;
  }

  .mission-image-circle {
    width: 170px;
    height: 170px;
  }
}

/* ================= ABOUT PAGE END ================= */



/* ================= CONTACT PAGE START ================= */
.contact-section {
  padding: 120px 20px;
  background: #ffffff;
}

.contact-container {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* LEFT INFO */
.contact-info h2 {
  font-size: 48px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
}

.contact-info p {
  font-size: 18px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  color: #0f172a;
}

.contact-item span {
  font-size: 22px;
}

/* RIGHT BOX */
.contact-box {
  background: #a9b8c8;
  border-radius: 32px;
  padding: 50px;
  box-shadow: 0 30px 60px rgba(156, 74, 74, 0.08);
}

.contact-box h3 {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 30px;
  text-align: center;
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  font-size: 16px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.contact-form button {
  margin-top: 10px;
  padding: 16px;
  border-radius: 999px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;

  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;

  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-form button:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.45);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-info h2 {
    font-size: 36px;
  }

  .contact-box {
    padding: 40px 28px;
  }
}

/* ================= 3D CONTACT UPGRADE ================= */

/* Scene depth */
.contact-section {
  perspective: 1400px;
}

/* LEFT TEXT subtle depth */
.contact-info {
  transform: translateZ(40px);
}

/* MAIN 3D CARD */
.contact-box {
  position: relative;
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.4);
  transform-style: preserve-3d;

  box-shadow:
    0 30px 60px rgba(15, 23, 42, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);

  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Floating effect */
.contact-box-wrapper {
  animation: floatCard 6s ease-in-out infinite;
  transform-style: preserve-3d;
}

@keyframes floatCard {
  0%   { transform: translateY(0) rotateX(0deg); }
  50%  { transform: translateY(-12px) rotateX(1.5deg); }
  100% { transform: translateY(0) rotateX(0deg); }
}

/* Hover lift */
.contact-box:hover {
  transform: translateY(-18px) rotateX(4deg);
  box-shadow:
    0 50px 100px rgba(15, 23, 42, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* GLOW BORDER */
.contact-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.6),
    rgba(255, 255, 255, 0.4),
    rgba(37, 99, 235, 0.6)
  );
  mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* INPUT 3D FEEL */
.contact-form input,
.contact-form textarea {
  background: #ffffff;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.04),
    0 8px 18px rgba(15, 23, 42, 0.06);
}

.contact-form input:focus,
.contact-form textarea:focus {
  transform: translateY(-2px);
  box-shadow:
    0 10px 25px rgba(37, 99, 235, 0.18),
    inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* BUTTON = REAL 3D */
.contact-form button {
  position: relative;
  transform-style: preserve-3d;
}

.contact-form button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  transform: translateZ(-1px);
}

.contact-form button:active {
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}

/* SUBTLE SHINE SWEEP */
.contact-box:hover::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.35),
    transparent 70%
  );
  animation: shine 1.2s ease forwards;
  pointer-events: none;
}

@keyframes shine {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* ================= SCROLL ROTATION ================= */
.contact-box.rotate-on-scroll {
  animation: rotateCard 1.6s cubic-bezier(.4,0,.2,1) forwards;
}

@keyframes rotateCard {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* ================= CONTACT PAGE END ================= */

/* ===============================
   PORTFOLIO PAGE – RTECHH
/* ================= PORTFOLIO GRID ================= */

.portfolio-hero {
  padding: 140px 0 70px;
  background: #f8fafc;
  text-align: center;
}

.portfolio-hero h1 {
  font-size: 48px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.portfolio-hero p {
  font-size: 18px;
  color: #475569;
  max-width: 700px;
  margin: auto;
}

/* FILTERS */
.portfolio-filters {
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  padding-left: 400px;
}

.portfolio-filters .container {
  display: flex;
  gap: 14px;
  padding: 22px 20px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  font-size: 14px;
  cursor: pointer;
}

.filter-btn.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* GRID */
.portfolio-grid-section {
  padding: 90px 0 120px;
  background: rgb(255, 255, 255);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

/* CARD */
.portfolio-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  transition: all 0.35s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* IMAGE */
.portfolio-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* INFO */
.portfolio-info {
  padding: 22px 22px 26px;
}

.portfolio-info span {
  font-size: 13px;
  color: #2563eb;
  display: block;
  margin-bottom: 8px;
}

.portfolio-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 14px;
}

.portfolio-info a {
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  text-decoration: none;
}

.portfolio-info a:hover {
  text-decoration: underline;
}

/* ================= PORTFOLIO GRID – REFINED ================= */

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* slimmer cards */
  gap: 38px;
  padding-left: 30px;
  padding-right: 30px;
}

/* CARD – NO HOVER */
.portfolio-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  height: 380px; /* taller card */
  display: flex;
  flex-direction: column;

  /* remove hover animation */
  transition: none;
}

/* IMAGE – TALLER */
.portfolio-thumb img {
  width: 100%;
  height: 260px; /* increased height */
  object-fit: cover;
}

/* INFO */
.portfolio-info {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ================= SCROLL REVEAL (TECHONIQ STYLE) ================= */

.portfolio-card {
  opacity: 0;
  transform: translateY(60px) scale(0.96);
  transition:
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-card.reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ================= CLEAN RESPONSIVE SYSTEM ================= */

/* Large Desktop */
@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

/* Laptop */
@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .portfolio-card {
    height: 360px;
  }

  .portfolio-thumb img {
    height: 240px;
  }

  .portfolio-filters {
    padding-left: 0; /* remove 400px shift on small screens */
  }

  .portfolio-filters .container {
    justify-content: center;
  }

}

/* Tablet */
@media (max-width: 768px) {

  .portfolio-hero {
    padding: 110px 20px 60px;
  }

  .portfolio-hero h1 {
    font-size: 38px;
  }

  .portfolio-hero p {
    font-size: 16px;
  }

  .portfolio-filters {
    padding-left: 0;
  }

  .portfolio-filters .container {
    justify-content: center;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 20px;
    padding-right: 20px;
    gap: 24px;
  }

  .portfolio-card {
    height: auto;
  }

  .portfolio-thumb img {
    height: 220px;
  }
}

/* Mobile */
@media (max-width: 480px) {

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-hero h1 {
    font-size: 30px;
  }

  .portfolio-hero p {
    font-size: 15px;
  }

  .portfolio-card {
    border-radius: 16px;
  }

  .portfolio-thumb img {
    height: 200px;
  }

  .portfolio-info h3 {
    font-size: 18px;
  }

  /* Center filter buttons only on responsive */
@media (max-width: 768px) {

  .portfolio-filters {
    padding-left: 0; /* remove 400px shift on small screens */
  }

  .portfolio-filters .container {
    justify-content: center;
  }

}

}

/* =========================================
   GLOBAL RESPONSIVE REFINEMENT
   Add at very end of CSS
========================================= */

/* ===== Large Laptops (1400px and below) ===== */
@media (max-width: 1400px) {

  .navbar-inner {
    padding: 0 60px;
  }

  .hero-inner,
  .services-inner,
  .projects-inner,
  .process-inner,
  .footer-container {
    padding-left: 40px;
    padding-right: 40px;
  }
}


/* ===== Standard Laptop (1200px and below) ===== */
@media (max-width: 1200px) {

  /* Reduce big headings */
  h2 {
    font-size: 42px !important;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .projects-header h2,
  .process-inner h2,
  .services h2 {
    font-size: 42px;
  }

  .cta-box h2 {
    font-size: 48px;
  }

  /* 3-column grids → 2 columns */
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===== Tablet (992px and below) ===== */
@media (max-width: 992px) {

  /* Collapse complex layouts */
  .hero-inner,
  .service-detail-inner,
  .contact-container,
  .trust-inner,
  .why-wrapper-v2,
  .mission-wrapper {
    grid-template-columns: 1fr !important;
    flex-direction: column;
    text-align: center;
  }

  .hero {
    height: auto;
    padding: 160px 20px 80px;
  }

  .hero-visual img {
    height: 380px;
    margin-top: 40px;
  }

  /* Remove sticky behavior */
  .service-right {
    position: static !important;
    width: 100%;
    height: auto;
  }

  /* Stats */
  .stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Footer */
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ===== Mobile (768px and below) ===== */
@media (max-width: 768px) {

  /* Navbar compact */
  .navbar {
    height: 80px;
  }

  .navbar-inner {
    padding: 0 20px;
  }

  .logo img {
    height: 100px;
    margin-top: 10px;
  }

  /* Hide nav links (hamburger later) */
  .nav-links {
    display: none;
  }

  /* Hero */
  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-buttons {
    justify-content: center;
    margin-left: 0;
  }

  .hero-visual img {
    height: 300px;
  }

  /* Grids → 1 column */
  .projects-grid,
  .process-grid,
  .services-grid,
  .core-grid-v2 {
    grid-template-columns: 1fr !important;
  }

  /* CTA Section */
  .cta-box {
    padding: 70px 20px;
  }

  .cta-box h2 {
    font-size: 34px;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form input,
  .cta-form button {
    width: 100%;
  }

  .stats-strip {
    justify-content: center;
    text-align: center;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
}


/* ===== Small Mobile (480px and below) ===== */
@media (max-width: 480px) {

  .hero-content h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 28px !important;
  }

  .cta {
    padding: 12px 24px;
    font-size: 14px;
  }

  .project-content h3 {
    font-size: 22px;
  }

  .service-card {
    padding: 30px;
  }

  .process-card {
    padding: 30px 24px;
  }

  .mission-image-circle {
    width: 220px;
    height: 220px;
  }
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #ffffff;   /* 👈 Make visible */
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {

  .hamburger {
    display: flex;
    z-index: 1100;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 40%;              /* 👈 Only 40% */
    min-width: 260px;        /* prevents too small on tiny screens */

    background: rgba(2, 6, 23, 0.96);
    backdrop-filter: blur(12px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;

    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 1000;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 20px;
    color: #ffffff;
    opacity: 0.85;
    transition: 0.3s ease;
  }

  .nav-links a:hover {
    opacity: 1;
    transform: translateX(4px);
  }
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}
