/* sections.css */


/* =========================================
   INTRO SCREEN
========================================= */

/* LOCK PAGE INITIALLY */
html,
body{
  width:100%;
  height:100%;
  margin:0;
  overflow:hidden;
}

/* FULLSCREEN INTRO */
#intro-screen{
  position:fixed;
  inset:0;

  width:100vw;
  height:100vh;

  background:#f5f5f7;

  display:flex;
  justify-content:center;
  align-items:center;

  z-index:999999;

  overflow:hidden;

  opacity:1;
  visibility:visible;

  transition:
    opacity 1s ease,
    visibility 1s ease;
}

/* RESPONSIVE LOTTIE */
#intro-screen dotlottie-player{
  width:min(42vw, 420px);
  height:min(42vw, 420px);

  min-width:180px;
  min-height:180px;
}

/* INTRO EXIT */
#intro-screen.hide{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}

/* WEBSITE REVEAL */
#site-shell.show{
  opacity:1;
}

.hero-image,
.stacked-media img,
.service-card img:not(.service-icon img),
.grid-dark .grid-tile img,
.blog-thumb img,
.blog-single-thumb img {
  border-radius: 22px;
}



html, body {
  width: 100%;
  overflow-x: hidden;
}


/* ===============================
   Apple-accurate Navbar
================================ */
section {
  position: relative;
}

.hero,
.hero-media,
.hero-image {
  position: relative;
  z-index: 1;
}

.nav-overlay { z-index: 9998; }



.apple-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 14px;
}

.apple-nav-icon {
  font-size: 1.2rem;
  color: #000;
}

.apple-nav-links {
  display: flex;
  gap: 26px;
}

.apple-nav-links a {
  font-size: 12px;
  font-weight: 400;
  color: #1d1d1f;
  opacity: 0.88;
}

.apple-nav-links a:hover {
  opacity: 1;
}

.apple-nav-actions {
  display: flex;
  gap: 18px;
}

.nav-icon {
  font-size: 13px;
  cursor: pointer;
}

.apple-nav-icon img {
  height: 25px;      
  width: auto;
  max-height: 100%;
  display: block;
}



/* ===============================
   Apple-style Hero Section
================================ */

.hero {
  position: relative;

  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  padding-top: 80px;
  padding-bottom: 80px;

  overflow: hidden;

  background: #f5f5f7;
}
/* =================================
   Inner pages hero alignment fix
================================= */

.hero:not(.home-hero) {
  align-items: flex-start;

  padding-top: 180px;
}

.hero-light {
  background: #f5f5f7;
  color: #1d1d1f;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-subtitle {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  margin-bottom: 6px;
}

.hero-meta {
  font-size: 1rem;
  color: #6e6e73;
  margin-bottom: 24px;
}

/* CTA buttons */
.hero-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.btn-primary,
.btn-secondary {
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.25s ease;
}

.btn-primary {
  background: #0071e3;
  color: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
}

.btn-primary:hover {
  background: #005fcc; /* noticeable but still Apple-safe */
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}


.btn-secondary {
  border: 1px solid #005fcc;
  color: #005fcc;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
}
.btn-secondary:hover {
  background: rgba(0,95,204,0.12); 
  color: #004bb5;
  transform: translateY(-1px);
}
/* ===============================
   Apple-style Reveal Animations
================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transitionn-delay: 0.6s; }


.hero-layout {
  width: 100%;
}


/* ===============================
   Stacked Apple-style Section
================================ */

.stacked {
  padding: var(--section-padding) 0;
}

.stacked-dark {
  background: #101c32;
  color: #f5f5f7;
}

.stacked-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);

  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

/* Text */
.stacked-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-sm);
}

.stacked-text p {
  color: #a1a1a6;
  max-width: 460px;
}

/* Link */
.stacked-link {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 1rem;
}

/* Media */
.stacked-media img {
  max-width: 100%;
  height: auto;
}

/* Desktop layout */
@media (min-width: 768px) {
  .stacked-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}


/* ===============================
   Apple-style Grid Section
================================ */

.grid-section {
  padding: var(--section-padding) 0;
}

.grid-light {
  background: #ffffff;
  color: #1d1d1f;
}

.grid-dark {
  background: #101c32;
  color: #f5f5f7;
}

.grid-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  display: grid;
  gap: 32px;
}

/* Light grids (services, info blocks) */
.grid-light .grid-inner {
  grid-template-columns: repeat(3, 1fr);
}

/* Case studies / dark grids */
.grid-dark .grid-inner {
  grid-template-columns: 1fr;
}

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

@media (min-width: 1200px) {
  .grid-dark .grid-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
  }
}

/* Tiles */
.grid-tile {
  padding: var(--space-lg);
  background: var(--bg-muted);
}

.grid-tile h3 {
  font-size: 1.4rem;
  margin-bottom: var(--space-xs);
}

.grid-tile p {
  max-width: 420px;
}

.grid-dark .grid-tile {
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 36px 32px;
  transition: transform 0.4s ease, background 0.4s ease;
}

.grid-dark .grid-tile::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 24px;
}

.grid-dark .grid-tile:first-child h3 {
  font-size: 1.35rem;
}


.grid-dark .grid-tile:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.06);
}

.grid-dark .grid-tile h3 {
  font-size: 1.3rem;
  font-weight: 600;
}

.case-desc {
  margin-top: 14px;
  color: #a1a1a6;
  line-height: 1.55;
}

.case-result {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #f5f5f7;
  opacity: 0.85;
}


/* ===============================
   Case Studies Refinement
================================ */

.grid-dark .section-header {
  max-width: 700px;
  margin-bottom: 72px;
  text-align: center;
}

.grid-dark .section-header h2 {
  color: #f5f5f7;
}

.grid-dark .section-header p {
  color: #a1a1a6;
}

.case-desc {
  margin-top: 12px;
  color: #a1a1a6;
  line-height: 1.5;
}

.case-result {
  margin-top: 18px;
  font-weight: 500;
  color: #f5f5f7;
  font-size: 0.95rem;
}



/* ===============================
   Full-width Band
================================ */

.band {
  padding: calc(var(--section-padding) * 0.8) 0;
  text-align: center;
}

.band-dark {
  background: #101c32;
  color: #f5f5f7;
}

.band-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.band-inner p {
  color: #a1a1a6;
}

.band-link {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 1rem;
}

.stacked-light { background:#fff; color:#1d1d1f; }
.stacked-inner.reverse { direction: rtl; }
.stacked-inner.reverse > * { direction: ltr; }
.hero-dark { background:#000; color:#f5f5f7; }
.hero-dark .hero-subtitle { color:#d2d2d7; }
.grid-dark { background:#101c32; color:#f5f5f7; }
.grid-dark p { color:#a1a1a6; }
.band-light { background:#fff; color:#1d1d1f; }
.apple-footer { background:#f5f5f7; padding:40px 0; font-size:12px; }
.footer-inner { max-width:1200px; margin:0 auto; padding:0 var(--space-md); }
.footer-cols { display:grid; gap:24px; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); }
.apple-footer h4 { font-size:12px; margin-bottom:8px; color:#1d1d1f; }
.apple-footer a { display:block; color:#6e6e73; margin:4px 0; }
.footer-note { margin-top:24px; color:#6e6e73; }


.product-nav{
  position:sticky; top:44px; z-index:900;
  background:#fff; border-bottom:1px solid #e5e5e5;
  height:48px; display:flex; align-items:center; gap:18px;
  padding:0 var(--space-md); font-size:12px;
}
.buy-btn{
  margin-left:auto; background:#0071e3; color:#fff;
  padding:6px 14px; border-radius:999px;
}


/* =====================================
   FIX: Vision / Belief section ONLY
===================================== */

.vision-grid .grid-inner {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 900px;
  gap: 64px;
}

/* Mobile fallback */
@media (max-width: 768px) {
  .vision-grid .grid-inner {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
}

/* =====================================
   FIX: What We Do grid ONLY
===================================== */

.what-we-do .grid-inner {
  grid-template-columns: repeat(1, 1fr);
  max-width: 1100px;
  gap: 40px;
}

@media (min-width: 768px) {
  .what-we-do .grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .what-we-do .grid-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===============================
   Section Header (Apple-style)
================================ */

.section-header {
  max-width: 700px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-header p {
  color: #6e6e73;
  font-size: 1.1rem;
}

/* What We Do – visual rhythm fix */
.what-we-do .grid-tile {
  background: #f5f5f7;
  padding: 48px 40px;
}

.what-we-do .grid-tile h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.what-we-do .grid-tile p {
  max-width: none;
}

/* ===============================
   Why Choose Us list
================================ */

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-list li {
  font-size: 1.05rem;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  color: #d2d2d7;
}

.why-list li:last-child {
  border-bottom: none;
}

/* ===============================
   Hero supporting text (Apple-style)
================================ */

.hero-description {
  font-size: 1rem;
  color: #6e6e73;
  margin-bottom: 6px;
}

.hero-tags {
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: #636366;
}

/* ===============================
   Services Section (Apple-style)
================================ */

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  gap: 48px;
}

.service-card {
  background: #f5f5f7;
  padding: 40px;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
}

.service-icon img {
  width: 28px;
  height: 28px;
  opacity: 0.85;
  filter: grayscale(1);
}


.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-card p {
  color: #6e6e73;
  margin-bottom: 14px;
  max-width: 340px;
}

.service-link {
  font-size: 0.95rem;
  color: #0071e3;
}

.service-link:hover {
  text-decoration: underline;
}

/* Responsive layout */
@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===============================
   Services – Animated Background
================================ */

.services-section {
  position: relative;
  overflow: hidden;
}

/* Background SVG wrapper */
.services-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Scale + center SVG */
.services-bg svg {
  position: absolute;
  width: 140%;
  height: auto;
  left: -20%;
  top: -10%;
}

/* Content always above */
.services-section .grid-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .services-bg {
    display: none;
  }
}

html.gamify .services-bg {
  opacity: 0.1;
}

html.gamify .services-bg svg {
  filter: saturate(0.85) brightness(0.5);
}


/* ===============================
   Technologies Section (Apple-style)
================================ */

.technologies-section .section-header {
  margin-bottom: 80px;
}


.technologies-section {
  padding: 5rem 0;
}

/* =========================================
   TECH STACK SLIDER
========================================= */

.tech-slider {
  margin-top: 3rem;
}

.tech-slider .slick-track {
  display: flex;
  align-items: center;
}

.tech-slider .slick-slide {
  width: auto !important;
  margin: 0 22px;
}

/* Pill */

.tech-pill {
  display: inline-flex;
  align-items: center;

  gap: 0.85rem;

  padding: 0.55rem 2.5rem;

  border-radius: 999px;

  color: white;

  font-size: 1rem;
  font-weight: 600;

  box-shadow: 0 5px 15px rgba(0,0,0,0.15);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.tech-pill:hover {
  transform: translateY(-4px);

  box-shadow:
    0 12px 28px rgba(0,0,0,0.22);
}

/* Logo */

.logo-circle {
  width: 38px;
  height: 38px;

  border-radius: 50%;

  background: white;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

.logo-circle img {
  width: 68%;
  height: 68%;
  object-fit: contain;
}

/* Text */

.tech-name {
  color: white;
  line-height: 1;
  white-space: nowrap;
}

/* Colors */

.html {
  background: linear-gradient(135deg, #f97316, #ea580c);
}

.css {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.js {
  background: linear-gradient(135deg, #facc15, #f59e0b);
  color: #111827;
}

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

.node {
  background: linear-gradient(135deg, #16a34a, #15803d);
}

.php {
  background: linear-gradient(135deg, #818cf8, #4f46e5);
}

.java {
  background: linear-gradient(135deg, #f97316, #ef4444);
}

.python {
  background: linear-gradient(135deg, #5b9dbb, #facc15);
}

.mysql {
  background: linear-gradient(135deg, #0f766e, #0e7490);
}

.mongodb {
  background: linear-gradient(135deg, #16a34a, #15803d);
}


/* ===============================
   Process Section
================================ */

.process-steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 18px;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.process-step:last-child {
  border-bottom: none;
}

.step-number {
  font-size: 0.9rem;
  font-weight: 500;
  color: #6e6e73;
  min-width: 32px;
}

.step-text {
  font-size: 1.05rem;
  color: #1d1d1f;
}

/* Desktop */
@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 48px;
  }

  .process-step {
    border-bottom: none;
  }
}

/* ===============================
   Testimonials (Apple Editorial)
================================ */

.testimonials-section {
  background: #f5f5f7;
  padding: var(--section-padding) 0;
}

.testimonials-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.testimonials-grid {
  display: grid;
  gap: 64px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 72px;
  }
}

.testimonial {
  max-width: 520px;
}

.testimonial blockquote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #1d1d1f;
}

.testimonial figcaption {
  margin-top: 18px;
}

.testimonial figcaption strong {
  display: block;
  font-weight: 600;
  color: #1d1d1f;
}

.testimonial figcaption span {
  font-size: 0.9rem;
  color: #6e6e73;
}

.testimonials-footer {
  margin-top: 80px;
  text-align: center;
  color: #6e6e73;
  font-size: 1rem;
}


/* ===============================
   Final CTA + Contact (Apple)
================================ */

.contact-cta-section {
  background: #f5f5f7;
  padding: var(--section-padding) 0;
}

.contact-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.contact-grid {
  display: grid;
  gap: 64px;
  margin-top: 72px;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

/* Info side */
.contact-info h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.contact-info p {
  color: #6e6e73;
  max-width: 420px;
  margin-bottom: 24px;
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.contact-details li {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #1d1d1f;
}

.whatsapp-link {
  font-size: 0.95rem;
  color: #0071e3;
}

/* Form */
.contact-form {
  max-width: 420px;
}

.form-group {
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #d2d2d7;
  padding: 12px 4px;
  font-size: 0.95rem;
  background: transparent;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0071e3;
}

.contact-form button {
  margin-top: 24px;
}

/* ===============================
   Apple-style Footer
================================ */

.apple-footer {
  background: #f5f5f7;
  color: #1d1d1f;
  font-size: 12px;
  padding: 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 16px;
}

.footer-brand {
  max-width: 420px;
  margin-bottom: 32px;
}

.footer h4 {
  font-size: 12px;
  font-weight: 600;
  color: #1d1d1f;
  margin-bottom: 8px;
}


.footer-brand p {
  color: #6e6e73;
  line-height: 1.4;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  border-top: 1px solid rgba(0,0,0,0.08);
  padding-top: 20px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
  opacity: 0.9;
}

.footer-col a {
  display: block;
  margin: 6px 0;
  color: #6e6e73;
  text-decoration: none;
  opacity: 1;
}

.footer-col a:hover {
  color: #1d1d1f;
}

.footer a {
  font-size: 12px;
  color: #6e6e73;
}
.footer a:hover {
  text-decoration: underline;
}

.footer-divider {
  border-color: rgba(0,0,0,0.08);
}

.footer-cols {
  gap: 24px;
}

.footer-brand {
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.4;
  max-width: 240px;
  color: #6e6e73;
}

.apple-footer h4 {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #1d1d1f;
}

.apple-footer a {
  font-size: 12px;
  color: #6e6e73;
}

.apple-footer a:hover {
  text-decoration: underline;
}

/* ===============================
   Apple-style Footer Bottom Bar (Final)
================================ */

.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 10px 0;
  margin-top: 20px;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;

  font-size: 12px;
  color: #6e6e73;
}

/* Left */
.footer-copy {
  white-space: nowrap;
}

/* Center */
.footer-links {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a {
  color: #6e6e73;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Darker dividers (Apple-like) */
.footer-links span {
  color: #9a9a9a;
}

/* Right spacer (keeps center truly centered) */
.footer-spacer {
  width: 1px;
}

/* Mobile: Apple stacks neatly */
@media (max-width: 768px) {
  .footer-bottom-inner {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: center;
  }

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

  .footer-spacer {
    display: none;
  }
}


/* ===============================
Home Page Done
================================ */


/* ===============================
   About Page – What We Do (Refined)
================================ */

.what-we-do {
  background: #ffffff;
}

.what-we-do .grid-inner {
  gap: 48px;
}

/* Card surface */
.what-we-do .grid-tile {
  background: #ffffff;
  border-radius: 20px;

  padding: 48px 44px;

  /* Apple-style separation */
  border: 1px solid rgba(0,0,0,0.08);

  transition:
    transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

/* Subtle elevation on hover (Apple-level) */
.what-we-do .grid-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.12);
}

/* Title */
.what-we-do .grid-tile h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #1d1d1f;
}

/* Body text */
.what-we-do .grid-tile p {
  font-size: 1rem;
  line-height: 1.5;
  color: #6e6e73;
}


/* Section rhythm enhancement */
.grid-section + .stacked,
.stacked + .grid-section,
.grid-section + .band {
  border-top: none;
}

/* Vision / Belief emphasis */
.vision-grid .grid-tile {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fafafa 100%
  );
  border-radius: 18px;
  padding: 56px 48px;
}

/* Why Choose Us refinement */
.stacked-dark .why-list li {
  font-size: 1.05rem;
  padding: 14px 0;
  letter-spacing: 0.01em;
}


/* ===============================
   Services Page - Primary Cards
================================ */

.what-we-do {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fafafa 100%
  );
}

.what-we-do .grid-inner {
  gap: 56px;
}

/* Service cards */
.what-we-do .grid-tile {
  background: #ffffff;
  border-radius: 22px;

  padding: 56px 48px;

  border: 1px solid rgba(0,0,0,0.1);

  transition:
    transform 0.45s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.45s ease,
    border-color 0.45s ease;
}

/* Hover: confident, not flashy */
.what-we-do .grid-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(0,0,0,0.12);
  border-color: rgba(0,0,0,0.14);
}

/* Titles */
.what-we-do .grid-tile h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #1d1d1f;
}

/* Primary text */
.what-we-do .grid-tile > p:first-of-type {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #1d1d1f;
  margin-bottom: 18px;
}

/* Descriptor line */
.what-we-do .case-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6e6e73;
}

/* Services intro emphasis */
.stacked-dark h2 {
  max-width: 520px;
}

.stacked-dark p {
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Services intro emphasis */
.stacked-dark h2 {
  max-width: 520px;
}

.stacked-dark p {
  font-size: 1.05rem;
  line-height: 1.6;
}


/* Promise cards */
.grid-section:not(.what-we-do) .grid-tile {
  background: #ffffff;
  border-radius: 18px;
  padding: 44px 40px;

  border: 1px solid rgba(0,0,0,0.08);
}

/* Promise titles */
.grid-section:not(.what-we-do) .grid-tile h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
 

/* Section rhythm – Services */
.grid-section + .stacked,
.stacked + .grid-section {
  border-top: 1px solid rgba(0,0,0,0.06);
}


/* ===============================
   Our Promise – Single Line Fix
================================ */

.grid-section .grid-inner {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Slightly smaller cards */
.grid-section .grid-tile {
  padding: 32px 28px;
  border-radius: 16px;
}

/* Title size adjustment */
.grid-section .grid-tile h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* Body text adjustment */
.grid-section .grid-tile p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #6e6e73;
}

/* Section header tightening */
.grid-section .section-header {
  margin-bottom: 48px;
}

/* Tablet fallback */
@media (max-width: 1024px) {
  .grid-section .grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile fallback */
@media (max-width: 640px) {
  .grid-section .grid-inner {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   Our Promise – Single Line Fix
================================ */

.grid-section .grid-inner {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Slightly smaller cards */
.grid-section .grid-tile {
  padding: 32px 28px;
  border-radius: 16px;
}

/* Title size adjustment */
.grid-section .grid-tile h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* Body text adjustment */
.grid-section .grid-tile p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #6e6e73;
}

/* Section header tightening */
.grid-section .section-header {
  margin-bottom: 48px;
}

/* Tablet fallback */
@media (max-width: 1024px) {
  .grid-section .grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile fallback */
@media (max-width: 640px) {
  .grid-section .grid-inner {
    grid-template-columns: 1fr;
  }
}

/* ===============================
   Developers – Core Capabilities
================================ */

.what-we-do .grid-tile {
  background: #ffffff;
  border-radius: 20px;
  padding: 44px 40px;
  border: 1px solid var(--card-border);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.what-we-do .grid-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.08);
  border-color: rgba(29,78,216,0.25);
}

.what-we-do .grid-tile h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.what-we-do .grid-tile p {
  font-size: 1rem;
  color: #6e6e73;
  line-height: 1.55;
}

/* ===============================
   Developers – Team Cards
================================ */

.grid-dark .grid-tile {
  background: rgba(255,255,255,0.04);
  border-radius: 22px;
  padding: 36px 32px;
  position: relative;
  transition:
    transform 0.35s ease,
    background 0.35s ease;
}

.grid-dark .grid-tile:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.08);
}

.grid-dark .grid-tile h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.grid-dark .grid-tile::before {
  content: "";
  width: 32px;
  height: 3px;
  background: var(--accent-dev);
  display: block;
  margin-bottom: 18px;
  border-radius: 999px;
  opacity: 0.85;
}

/* ===============================
   Developers – Section Headers
================================ */

.section-header h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.1rem;
  color: #6e6e73;
  max-width: 520px;
  margin: 0 auto;
}

/* ===============================
   Tech Stack – Visual Weight
================================ */

.stacked-dark .why-list li {
  padding: 14px 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #d2d2d7;
}

.stacked-dark .why-list strong {
  color: #ffffff;
  font-weight: 500;
}


/* ===============================
   FIX: Developer name visibility
================================ */

.grid-dark .grid-tile {
  color: #1d1d1f; /* base text */
}

/* Name */
.grid-dark .grid-tile h3 {
  color: #1d1d1f;
}

/* Description text */
.grid-dark .grid-tile .case-desc {
  color: #6e6e73;
}

/* ===============================
   Pricing Section (Apple-style)
================================ */

.pricing-section {
  background: #f5f5f7;
  padding: var(--section-padding) 0;
}

.pricing-grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-md);

  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 36px 32px;
  text-align: left;

  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0,0,0,0.1);
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.pricing-desc {
  color: #6e6e73;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.pricing-price {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.pricing-meta {
  font-size: 0.85rem;
  color: #6e6e73;
  margin-bottom: 24px;
}

.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-card li {
  padding: 8px 0;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.pricing-card li:last-child {
  border-bottom: none;
}

/* Featured plan */
.pricing-card.featured {
  background: #101c32;
  color: #ffffff;
}

.pricing-card.featured .pricing-desc,
.pricing-card.featured .pricing-meta {
  color: #d2d2d7;
}

.pricing-card.featured li {
  border-color: rgba(255,255,255,0.15);
}

.pricing-note {
  margin-top: 32px;
  text-align: center;
  font-size: 0.9rem;
  color: #6e6e73;
}


.pricing-mini {
  background: #ffffff;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(0,0,0,0.06);
}

.pricing-mini strong {
  display: block;
  margin-top: 12px;
  font-size: 1.1rem;
}

/* ===============================
   CONTACT PAGE – FINAL LAYOUT
================================ */

.contact-split-section {
  background: #f5f5f7;
  padding: 96px 0;
}

.contact-split-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

/* MAP */
.contact-map {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.12);
}

.contact-map iframe {
  width: 100%;
  height: 460px;
  border: none;
  display: block;
}

/* FORM CARD */
.contact-form-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 42px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.12);
}

.contact-form-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #1d1d1f;
}

.form-subtext {
  color: #6e6e73;
  margin-bottom: 28px;
}

/* INPUTS */
.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #d2d2d7;
  padding: 14px 6px;
  font-size: 0.95rem;
  margin-bottom: 22px;
  outline: none;
  background: transparent;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: #0071e3;
}

/* BUTTON */
.contact-form-card .btn-primary {
  margin-top: 6px;
}

/* CONTACT LIST */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.contact-list li {
  margin-bottom: 18px;
}

.contact-list span {
  display: block;
  font-size: 0.85rem;
  color: #a1a1a6;
}

.contact-list strong {
  font-size: 1rem;
  font-weight: 500;
  color: #f5f5f7;
}

/* MOBILE */
@media (max-width: 900px) {
  .contact-split-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-map iframe {
    height: 360px;
  }
}

/* =============================== 
    Patch Work
================================ */

/* ===============================
   FIX: What We Do – 3 x grid
================================ */

.what-we-do .grid-inner {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  gap: 48px;
}

/* Tablet */
@media (max-width: 1024px) {
  .what-we-do .grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px) {
  .what-we-do .grid-inner {
    grid-template-columns: 1fr;
  }
}


/* ===============================
   Our Promise – Hover Animation
================================ */

.grid-section.grid-light .grid-tile {
  transition:
    transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.grid-section.grid-light .grid-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.12);
}

.grid-section.grid-light .grid-tile:hover h3 {
  transform: translateY(-1px);
}

.grid-section.grid-light .grid-tile h3 {
  transition: transform 0.35s ease;
}


/* ===============================
   Developers – Name hover effect
================================ */

/* Default name color */
.grid-dark .grid-tile h3 {
color: #101c32; /* Apple black */
  transition: color 0.3s ease, transform 0.3s ease;
}

/* On hover → name turns white */
.grid-dark .grid-tile:hover h3 {
  color: #ffffff;
}

.grid-dark .grid-tile h3 {
  transition: color 0.3s ease, transform 0.3s ease;
}

.grid-dark .grid-tile:hover h3 {
  transform: translateY(-1px);
}


@media (min-width: 1600px) {
  .hero-content,
  .section-header,
  .grid-inner,
  .stacked-inner {
    max-width: 1100px;
  }
}

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

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

  .btn-primary,
  .btn-secondary {
    padding: 8px 18px;
    font-size: 13px;
  }
}

/* ===============================
   Mobile Hamburger
================================ */

.nav-toggle {
  display: none;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #1d1d1f;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}


/* ===============================
   MOBILE NAVBAR ONLY
================================ */

@media (max-width: 768px) {

  /* 1. Hide desktop CTA */
  .nav-cta-desktop {
    display: none;
  }

  /* 2. Show hamburger */
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* 3. Convert nav links into dropdown */
  .apple-nav-links {
    position: absolute;
    top: 44px;
    left: 0;
    width: 100%;
    background: #f5f5f7;

    flex-direction: column;
    gap: 0;

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

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  /* 4. Open state (JS will toggle this class) */
  .apple-nav-links.open {
    max-height: 420px;
  }

  /* 5. Mobile nav items */
  .apple-nav-links a {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    color: #1d1d1f;
  }

  /* 6. Mobile "Get Started" inside menu */
  .nav-cta-mobile {
    font-weight: 600;
    color: #1d1d1f; /* black, not blue */
  }
}

/* FORCE desktop Get Started color */
.apple-nav-actions .nav-cta-desktop {
  color: #1d1d1f !important;
  text-decoration: none;
}

/* Hamburger → X animation */
.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

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

/* ===============================
   Mobile Nav Background Blur
================================ */

.nav-overlay {
  position: fixed;
  inset: 0;

  background: rgba(245,245,247,0.92);

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.35s ease;

  z-index: 999;
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}



/* ===============================
   HERO – Mobile Overflow Fix
================================ */

@media (max-width: 768px) {

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-media {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .hero-media img,
  .hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }
}

.reveal {
  will-change: transform;
  overflow: hidden;
}
@media (max-width: 768px) {
  .reveal {
    transform: none;
  }
}

@media (max-width: 768px) {

  .services-section .grid-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .service-icon {
    margin-bottom: 12px;
  }

  .service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .service-card p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .service-link {
    margin-top: 8px;
    display: inline-block;
  }
}

@media (max-width: 768px) {

  .technologies-section .tech-groups {
    gap: 40px;
  }

  .tech-group h3 {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .tech-logos {
    gap: 12px;
  }

  .tech-logo-img {
    width: 30px;
  }
}

@media (max-width: 768px) {

  .grid-dark .grid-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .grid-dark .grid-tile {
    padding: 24px 20px;
    border-radius: 16px;
  }

  .grid-dark .grid-tile h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .case-desc {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .case-result {
    margin-top: 10px;
    font-size: 0.9rem;
  }
}

  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

@media (max-width: 768px) {

  /* Center section heading */
  .technologies-section .section-header {
    text-align: center;
  }

  /* Center each tech group */
  .technologies-section .tech-group {
    text-align: center;
  }

  /* Center category titles */
  .technologies-section .tech-group h3 {
    text-align: center;
  }

  /* Center the logos row */
  .technologies-section .tech-logos {
    justify-content: center;
  }
}
@media (max-width: 768px) {
  .technologies-section .tech-group {
    margin-bottom: 32px;
  }
}

@media (hover: none) {

  /* What We Do cards */
  .what-we-do .grid-tile.in-view {
    transform: translateY(-6px);
    box-shadow: 0 26px 60px rgba(0,0,0,0.12);
    border-color: rgba(0,0,0,0.14);
  }

  /* Services cards */
  .service-card.in-view {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.1);
  }

  /* Selected work cards */
  .grid-dark .grid-tile.in-view {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.08);
  }

  /* Developer name effect */
  .grid-dark .grid-tile.in-view h3 {
    color: #ffffff;
    transform: translateY(-1px);
  }
}

@media (hover: none) {
  .grid-tile:hover,
  .service-card:hover {
    transform: none;
    box-shadow: none;
    background: inherit;
  }
}

@media (hover: none) {

  .grid-dark .grid-tile.in-view {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.08);
  }

  .grid-dark .grid-tile.in-view h3 {
    color: #ffffff;
  }
}

@media (max-width: 640px) {

  /* Make the grid truly single-column */
  .what-we-do .grid-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Cards should feel full-width, not narrow */
  .what-we-do .grid-tile {
    padding: 28px 22px;
    border-radius: 16px;
  }

  /* Improve text flow */
  .what-we-do .grid-tile h3 {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .what-we-do .grid-tile p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  /* Reduce section top/bottom heaviness */
  .what-we-do {
    padding-top: 48px;
    padding-bottom: 56px;
  }
}

/* ===============================
   Our Promise – Mobile Fix
================================ */

@media (max-width: 640px) {

  /* Force single column */
  .grid-section:not(.what-we-do) .grid-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Make cards feel grounded, not tall */
  .grid-section:not(.what-we-do) .grid-tile {
    padding: 24px 20px;
    border-radius: 14px;
  }

  /* Improve text hierarchy */
  .grid-section:not(.what-we-do) .grid-tile h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .grid-section:not(.what-we-do) .grid-tile p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  /* Reduce section heaviness */
  .grid-section {
    padding-top: 48px;
    padding-bottom: 56px;
  }
}

/* ===============================
   Get Started visibility control
================================ */

/* DEFAULT (Desktop) */
.nav-cta-mobile {
  display: none;
}

/* Desktop: show right-side button */
.nav-cta-desktop {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
  color: #1d1d1f;
  text-decoration: none;
}

/* ===============================
   Mobile only
================================ */
@media (max-width: 768px) {

  /* Hide desktop button */
  .nav-cta-desktop {
    display: none !important;
  }

  /* Show Get Started ONLY inside hamburger */
  .nav-cta-mobile {
    display: block;
    font-weight: 600;
  }
}


@media (max-width: 768px) {
  .reveal {
    transform: translateY(14px); /* was 24px */
    transition-duration: 0.6s;   /* faster */
  }
}

@media (max-width: 768px) {

  .grid-tile,
  .service-card {
    box-shadow: none !important;
  }

  .grid-tile.in-view,
  .service-card.in-view {
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  }
}

@media (max-width: 768px) {
  .grid-tile,
  .service-card,
  .reveal {
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: transform;
  }
}

@media (hover: none) {

  .grid-tile:hover,
  .service-card:hover {
    transform: none !important;
    box-shadow: none !important;
  }
}

@media (hover: none) {

  /* Kill hover logic ONLY for Selected Work */
  .grid-dark .grid-tile:hover {
    transform: none !important;
    background: rgba(255,255,255,0.04) !important;
  }
}

@media (hover: none) {

  .grid-dark .grid-tile {
    transition:
      transform 0.45s ease,
      background 0.45s ease;
  }

  .grid-dark .grid-tile.in-view {
    transform: translateY(-6px);
    background: rgba(255,255,255,0.08);
  }
}

@media (max-width: 768px) {
  .grid-dark .grid-tile.in-view {
    background: rgba(255,255,255,0.06);
  }
}


/* ===============================
   Success Toast Popup
================================ */

.success-toast {
  position: fixed;
  top: 64px;
  right: 24px;
  z-index: 2000;

  background: #ffffff;
  color: #1d1d1f;
  border-left: 4px solid #22c55e;

  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);

  width: 320px;
  padding: 16px 18px;

  display: flex;
  align-items: flex-start;
  gap: 12px;

  opacity: 0;
  transform: translateY(-12px);
  animation: toastIn 0.45s cubic-bezier(.25,.8,.25,1) forwards;
}

.toast-content strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.toast-content p {
  font-size: 0.9rem;
  color: #6e6e73;
  margin: 4px 0 6px;
}

.toast-timer {
  font-size: 0.8rem;
  color: #22c55e;
}

.toast-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #6e6e73;
  line-height: 1;
}

.toast-close:hover {
  color: #1d1d1f;
}

/* Exit animation */
.success-toast.hide {
  animation: toastOut 0.4s ease forwards;
}

/* Animations */
@keyframes toastIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Mobile tweak */
@media (max-width: 640px) {
  .success-toast {
    right: 12px;
    left: 12px;
    width: auto;
  }
}

/* ===============================
   Success Toast Popup
================================ */

.success-toast {
  position: fixed;
  top: 64px;
  right: 24px;
  z-index: 2000;

  background: #ffffff;
  color: #1d1d1f;
  border-left: 4px solid #101c32;

  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.18);

  width: 320px;
  padding: 16px 18px;

  display: flex;
  align-items: flex-start;
  gap: 12px;

  opacity: 0;
  transform: translateY(-12px);
  animation: toastIn 0.45s cubic-bezier(.25,.8,.25,1) forwards;
}

.toast-content strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.toast-content p {
  font-size: 0.9rem;
  color: #6e6e73;
  margin: 4px 0 6px;
}

.toast-timer {
  font-size: 0.8rem;
  color: #101c32;
}

.toast-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #6e6e73;
  line-height: 1;
}

.toast-close:hover {
  color: #1d1d1f;
}

/* Exit animation */
.success-toast.hide {
  animation: toastOut 0.4s ease forwards;
}

/* Animations */
@keyframes toastIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* Mobile tweak */
@media (max-width: 640px) {
  .success-toast {
    right: 12px;
    left: 12px;
    width: auto;
  }
}


.form-error {
  background: rgba(220, 38, 38, 0.08);
  border-left: 4px solid #dc2626;
  color: #7f1d1d;

  padding: 12px 14px;
  border-radius: 10px;

  font-size: 0.9rem;
  margin-bottom: 16px;
}


.contact-cta-section .contact-grid {
  display: flex;
  justify-content: center;
}
.contact-cta-section .contact-info {
  width: 100%;
  max-width: 760px;     /* controls stretch */
  text-align: center;
}
.contact-cta-section .contact-info p {
  margin-left: auto;
  margin-right: auto;
}

.contact-cta-section .contact-details li {
  text-align: center;
}

.contact-cta-section .contact-info {
  background: #ffffff;
  padding: 48px 44px;
  border-radius: 24px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.08);
}

/* ===============================
   FIX: Main office alignment (FOR REAL)
================================ */

/* Ensure both columns start aligned */
.stacked-dark .stacked-inner {
  align-items: start;
}

/* Remove width restriction ONLY for Main office text */
.stacked-dark .stacked-inner > .stacked-text:last-child p {
  max-width: none;
}
.stacked-dark .stacked-inner > .stacked-text:last-child {
  padding-left: 40px;
}
@media (max-width: 768px) {
  .stacked-dark .stacked-inner > .stacked-text:last-child {
    padding-left: 0;
  }
}

/* ===============================
   Get Directions button
================================ */

.directions-btn {
  display: inline-block;
  margin-top: 18px;

  font-size: 0.95rem;
  font-weight: 500;

  color: #ffffff;
  text-decoration: none;

  padding: 10px 18px;
  border-radius: 999px;

  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.directions-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.directions-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
}


.desktop-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.desktop-popup.hidden {
  display: none;
}

.desktop-popup-card {
  background: #ffffff;
  color: #1d1d1f;
  padding: 28px 32px;
  border-radius: 18px;
  text-align: center;
  max-width: 360px;
}

.desktop-popup-card h3 {
  margin-bottom: 8px;
}

.desktop-popup-card button {
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  border: none;
  background: #101c32;
  color: #fff;
  cursor: pointer;
}

.gamify-only {
  display: none;
}

html.gamify .gamify-only {
  display: block;
}

.tooltip-container {
  display: inline-block;
  cursor: not-allowed;
}

/* Minimalist CSS Tooltip */
.tooltip-box { display: none; } 
.tooltip-container:hover .tooltip-box {
  display: block;
  position: absolute;
  background: #000;
  color: #fff;
  padding: 2px 8px;
  font-size: 12px;
  border-radius: 4px;
}

/* blog grid */

.blog-list-section {
  padding: var(--section-padding) 0;
  background: #f5f5f7;
}

.blog-list-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

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

.blog-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

/* Thumbnail */
.blog-thumb img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

/* Content */
.blog-content-area {
  padding: 28px 24px;
}

.blog-meta-top {
  display: flex;
  gap: 10px;
  font-size: 0.85rem;
  color: #6e6e73;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #1d1d1f;
}

.blog-excerpt {
  font-size: 0.95rem;
  color: #6e6e73;
  line-height: 1.5;
  margin-bottom: 14px;
}

.blog-readmore {
  font-size: 0.95rem;
  color: #0071e3;
}
.blog-readmore:hover {
  text-decoration: underline;
}

/* blog  */

.blog-single-hero {
  padding: 100px 0;
  background: #f5f5f7;
}

.blog-single-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  text-align: center;
}

.blog-single-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 12px;
  font-weight: 600;
}

.blog-single-meta {
  color: #6e6e73;
  font-size: 0.95rem;
  margin-bottom: 32px;
}

.blog-single-thumb img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
  margin-bottom: 40px;
}

.blog-single-content {
  text-align: left;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #1d1d1f;
}

.blog-back-btn-wrapper {
  margin: 20px 0 40px;
}

.blog-back-btn {
  font-size: 14px;
  text-decoration: none;
  color: #101C32;
  padding: 10px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  display: inline-block;
  transition: 0.2s ease;
}

.blog-back-btn:hover {
  background: #101C32;
  color: #fff;
  border-color: #101C32;
}

.grid-dark .grid-tile img:not(.tech-logo-img) {
  border-radius: 22px;
}

/* ===============================
   Privacy Policy Page
================================ */

.policy-hero {
  padding: 120px 0;
  background: #f5f5f7;
}

.policy-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.policy-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  margin-bottom: 40px;
  color: #1d1d1f;
}

.policy-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 40px 42px;
  text-align: left;

  box-shadow: 0 24px 60px rgba(0,0,0,0.1);
}

.policy-content h2 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.3rem;
  color: #1d1d1f;
}

.policy-content p {
  color: #444;
  line-height: 1.65;
  margin-bottom: 14px;
  font-size: 1rem;
}

.contact-form-card select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  border: none;
  border-bottom: 1px solid #d2d2d7;
  padding: 14px 6px;
  font-size: 0.95rem;
  background: transparent;
  outline: none;
  color: #6e6e73;
  margin-bottom: 22px;

  /* smooth Apple feel */
  transition: border-color 0.25s ease;
}

/* Focus glow */
.contact-form-card select:focus {
  border-color: #0071e3;
}

/* Custom arrow */
.contact-form-card select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23101c32' height='12' width='12' xmlns='https://www.w3.org/2000/svg'><path d='M2 4l4 4 4-4z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 6px center;
  background-size: 12px;
  padding-right: 26px;
}

/* ANIMATIONS AND BACKGROUND ENHANCEMENT */

.about-hero {
  position: relative;
  overflow: hidden;
}

.about-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-bg svg {
  width: 120%;
  max-width: 1600px;


  filter:
    saturate(1.2)
    contrast(1.1)
    brightness(1);
}

html.gamify .about-bg svg {
  opacity: 0.28;

  filter:
    saturate(1.1)
    brightness(0.75)
    contrast(1.05);
}

.about-hero .hero-content {
  position: relative;
  z-index: 2;
}


.what-we-do {
  position: relative;
  overflow: hidden;
}

/* SVG ambient background */
.what-we-do .services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  display: grid;
  place-items: center;
}


/* SVG sizing & softness */
.what-we-do .services-bg svg {
  width: 170%;
  max-width: 1600px;
  height: auto;

  opacity: 1;

  filter:
    saturate(1.1)
    contrast(1.05)
    brightness(0.95);

  transform: translate(10%, -2%);
}

/* Dark / gamified mode */
html.gamify .what-we-do .services-bg svg {
  opacity: 0.12;

  filter:
    saturate(1.05)
    brightness(0.7)
    contrast(1.1);
}

.what-we-do .section-header,
.what-we-do .grid-inner {
  position: relative;
  z-index: 2;
}

.what-we-do .grid-tile {
  background: rgba(255, 255, 255, 0.0);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);

  transition:
    background 0.35s ease,
    backdrop-filter 0.35s ease,
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.what-we-do .grid-tile:hover {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);

  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(16, 28, 50, 0.15);
}
html.gamify .what-we-do .grid-tile {
  background: rgba(16, 28, 50, 0.55);
  backdrop-filter: blur(6px);
}

html.gamify .what-we-do .grid-tile:hover {
  background: rgba(16, 28, 50, 0.9);
  backdrop-filter: blur(0);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
  .what-we-do .grid-tile {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: none;
  }

  html.gamify .what-we-do .grid-tile {
    background: rgba(16, 28, 50, 0.9);
  }

  .what-we-do .services-bg svg {
    opacity: 0.1;
  }
}

/* ===============================
   PRICING HERO — FULLSCREEN ANIMATION
================================ */

.pricing-hero {
  position: relative;
  min-height: calc(100vh - 44px);
  margin-top: 44px;

  background: #ffffff;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* -------------------------------
   TEXT CONTENT
-------------------------------- */
.pricing-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 0 20px;
  text-align: center;

  transform: translateY(-6vh);
}

/* -------------------------------
   FULLSCREEN ANIMATION LAYER
-------------------------------- */
.pricing-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  display: flex;
  align-items: center;
  justify-content: center;
}



/* Subtle motion only */
@keyframes pricingFloat {
  0%   { transform: translate(-50%, -50%) translateY(0); }
  50%  { transform: translate(-50%, -50%) translateY(-20px); }
  100% { transform: translate(-50%, -50%) translateY(0); }
}

/* -------------------------------
   MOBILE
-------------------------------- */
@media (max-width: 768px) {
  .pricing-hero-content {
    transform: translateY(-4vh);
  }

  .pricing-hero-bg svg,
  .pricing-hero-bg img {
    min-width: 140%;
    min-height: 140%;
  }
}



/* =====================================
   DEVELOPERS HERO — STATIC, FLUSH TOP
===================================== */

.developers-hero {
  position: relative;
  overflow: visible;

  /* override global hero padding */
  padding-top: 0 !important;
  padding-bottom: 320px;

  min-height: 720px;
}

/* Background layer */
.developers-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  display: flex;
  justify-content: center;
  align-items: flex-start; /* ⬅️ stick to TOP */
}

/* SVG / image */
.developers-hero-bg svg,
.developers-hero-bg img {
  width: 140%;
  max-width: 1600px;
  height: auto;

  margin-top: 0;          /* ⬅️ REMOVE GAP */
  animation: none;        /* ⬅️ NO FLOATING */
}

/* Content above background */
.developers-hero .hero-content {
  position: relative;
  z-index: 2;

  /* restore readable spacing ONLY for text */
  padding-top: 120px;
  padding-bottom: 120px;
}

/* -------------------------------
   RESPONSIVE
-------------------------------- */
@media (max-width: 1024px) {
  .developers-hero {
    min-height: 640px;
  }

  .developers-hero .hero-content {
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

@media (max-width: 768px) {
  .developers-hero {
    min-height: 520px;
  }



  .developers-hero .hero-content {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

/* Gamify */
html.gamify .developers-hero-bg svg,
html.gamify .developers-hero-bg img {
  opacity: 0.18;
}

.developers-hero {
  padding-bottom: clamp(360px, 40vh, 520px);
}
.developers-hero-spacer {
  height: clamp(360px, 40vh, 520px);
}

/* ===============================
   CTA BAND – CLEAN & CORRECT
================================ */

.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;

  background: #ffffff;

  /* Section height */
  padding: 96px 0 88px;
}

/* -------------------------------
   Background flame container
-------------------------------- */
.cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-bottom: 50px;

  height: 180px;              /* ⬅️ flame zone only */
  z-index: 0;
  pointer-events: none;

  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Flame SVG (small & anchored) */
.cta-bg svg {
  width: 196px;                /* 🔥 SMALL SIZE */
  height: auto;

  animation: ctaFloat 8s ease-in-out infinite;
}

/* Gentle float */
@keyframes ctaFloat {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* -------------------------------
   Content layer (pushed down)
-------------------------------- */
.cta-band .band-inner {
  position: relative;
  z-index: 2;

  max-width: 720px;
  margin: 0 auto;

  /* Reserve space for flame ABOVE */
  padding: 120px var(--space-md) 0;
}

/* Typography */
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  margin-bottom: 12px;
  color: #1d1d1f;
}

.cta-band p {
  font-size: 1.05rem;
  color: #6e6e73;
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

/* CTA link */
.cta-band .band-link {
  font-size: 1rem;
  font-weight: 500;
  color: #0071e3;
  text-decoration: none;
}

.cta-band .band-link:hover {
  text-decoration: underline;
}

/* -------------------------------
   Mobile tuning
-------------------------------- */
@media (max-width: 768px) {
  .cta-band {
    padding: 72px 0 64px;
  }

  .cta-bg {
    height: 140px;
  }

  .cta-bg svg {
    width: 72px;
    margin-top: 6px;
    opacity: 0.14;
  }

  .cta-band .band-inner {
    padding-top: 96px;
  }
}

/* -------------------------------
   Gamify mode
-------------------------------- */
html.gamify .cta-bg svg {
  opacity: 0.18;
  animation: none;
}


/* FIX: Hero animation background mismatch */
.hero-float svg,
.hero-float img {
  background: transparent !important;
}



/* ===============================
   WHY US – AMBIENT ANIMATION
================================ */

.why-band {
  position: relative;
  overflow: hidden;
}

/* Background animation layer */
.why-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Soft radial glow */
.why-glow {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at 50% 30%,
      rgba(255,255,255,0.08),
      transparent 65%
    );

  animation: glowPulse 8s ease-in-out infinite;
}

/* Floating lines */
.why-line {
  position: absolute;
  left: 50%;
  width: 1px;
  height: 160px;

  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );

  transform: translateX(-50%);
  opacity: 0.6;

  animation: lineFloat 6s ease-in-out infinite;
}

.why-line.delay {
  height: 220px;
  opacity: 0.35;
  animation-delay: 2.5s;
}

/* Content above animation */
.why-band .band-inner {
  position: relative;
  z-index: 2;
}

/* Animations */
@keyframes glowPulse {
  0%   { opacity: 0.55; }
  50%  { opacity: 0.85; }
  100% { opacity: 0.55; }
}

@keyframes lineFloat {
  0%   { transform: translate(-50%, 0); }
  50%  { transform: translate(-50%, -24px); }
  100% { transform: translate(-50%, 0); }
}

/* -------------------------------
   Mobile tuning
-------------------------------- */
@media (max-width: 768px) {
  .why-line {
    height: 120px;
  }

  .why-line.delay {
    height: 160px;
  }

  .why-glow {
    opacity: 0.6;
  }
}

/* -------------------------------
   Accessibility
-------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .why-glow,
  .why-line {
    animation: none;
  }
}

/* -------------------------------
   Gamify mode
-------------------------------- */
html.gamify .why-glow {
  opacity: 0.15;
}

html.gamify .why-line {
  opacity: 0.2;
}

/* ===============================
   WHY US – EXTRA HEIGHT
================================ */

.why-band-large {
  padding-top: 120px;
  padding-bottom: 360px; /* ⬅️ gives room for animation */
}

/* Mobile: still generous but controlled */
@media (max-width: 768px) {
  .why-band-large {
    padding-top: 96px;
    padding-bottom: 120px;
  }
}

/* =====================================
   WHY US – TRUE CENTER (FINAL FIX)
===================================== */

/* Remove band padding effect */
.why-band {
  padding: 0 !important;
  position: relative;
  overflow: hidden;
}

/* Control section height */
.why-band-large {
  min-height: 520px;
}

/* Absolute centering for text */
.why-band .band-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: 2;
  max-width: 720px;
  width: 100%;
  padding: 0 var(--space-md);

  text-align: center;
}

/* Background animation stays behind */
.why-band .why-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .why-band-large {
    min-height: 420px;
  }

  .why-band .band-inner {
    padding: 0 16px;
  }
}



/* ===============================
   BLOG HERO — ABSOLUTE FINAL
================================ */

.blog-hero {
  position: relative;
  height: calc(100vh - 44px);
  margin-top: 44px;

  background: #f5f5f7;
  overflow: hidden;
  isolation: isolate;
}

/* -------------------------------
   TEXT
-------------------------------- */
.blog-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding-top: 120px;
  text-align: center;
}

/* -------------------------------
   BACKGROUND SVG (KEY FIX)
-------------------------------- */
.blog-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* MAKE SVG ACT LIKE background-size: cover */
.blog-hero-bg svg {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;          /* 🔥 THIS IS THE FIX */
  object-position: center bottom;

  transform: scale(1.15);     /* fill illustration gaps */
}

/* -------------------------------
   MOBILE
-------------------------------- */
@media (max-width: 768px) {
  .blog-hero-content {
    padding-top: 96px;
  }

  .blog-hero-bg svg {
    transform: scale(1.35);
  }
}

/* -------------------------------
   GAMIFY
-------------------------------- */
html.gamify .blog-hero-bg svg {
  opacity: 0.18;
}

/* ===============================
   Custom Project – Minimal Fix
================================ */

/* Target ONLY this animation */
.custom-bg svg {
  background: transparent !important;
  width: 120%;
  height: auto;
  display: block;
}


/* ===============================
   Culture section – TEXT READABILITY ONLY
   (no backgrounds, no cards)
================================ */

/* Make sure text stays above artwork */
.band .band-inner {
  position: relative;
  z-index: 2;
}

/* Title: subtle outline + shadow */
.band.band-light h2 {
  color: #1d1d1f;

  /* crisp but invisible separation */
  text-shadow:
    0 1px 0 rgba(255,255,255,0.65),
    0 6px 18px rgba(0,0,0,0.12);
}

/* Paragraphs: soft glow for contrast */
.band.band-light p {
  color: #2a2a2a;
  line-height: 1.65;

  text-shadow:
    0 1px 0 rgba(255,255,255,0.7),
    0 4px 14px rgba(0,0,0,0.08);
}

/* Optional: emphasize key line slightly */
.band.band-light p + p {
  font-weight: 500;
}

.band .why-bg svg {
  filter: saturate(0.9) brightness(0.97);
}



/* =====================================
   FULLSCREEN CTA — HARD RESET
===================================== */

.about-cta {
  position: relative;
  height: 100vh;
  width: 100%;
  min-height: 700px;

  margin: 0;           /* kill band spacing */
  padding: 0;

  overflow: hidden;
  isolation: isolate;

  display: grid;
  place-items: center;

  background: transparent;
}

/* SVG background */
.about-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #f5f5f7;
}

/* SVG behaves like background-size: cover */
.about-cta-bg svg {
  position: absolute;
  top: 50%;
  left: 50%;

  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;

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

  /* NO visual manipulation */
  animation: none !important;
  filter: none !important;
  opacity: 1 !important;
}

/* Perfect center text */
.about-cta-content {
  position: relative;
  z-index: 2;

  text-align: center;
  max-width: 720px;
  padding: 0 24px;
  padding-bottom: 80px;
}

/* Mobile */
@media (max-width: 768px) {
  .about-cta {
    min-height: 560px;
  }

  .about-cta-bg svg {
    min-width: 140%;
    min-height: 140%;
  }
}

.about-cta .band-inner {
  transform: translateY(clamp(-340px, -35vh, -240px));
}

/* =====================================
   CULTURE TEXT — TRUE FLOATING FIX
   (NO BOX, NO BACKDROP)
===================================== */

.band.band-light .band-inner {
  position: relative;
  z-index: 2;
  
  transition: transform 0.35s ease;
}

/* Base text clarity */
.band.band-light h2,
.band.band-light p {
  color: #1d1d1f;

  /* depth without blur box */
  text-shadow:
    0 1px 0 rgba(255,255,255,0.65),
    0 6px 22px rgba(16,28,50,0.14);

  transition:
    color 0.35s ease,
    text-shadow 0.35s ease,
    filter 0.35s ease;
}

/* Hover — floating ink */
.band.band-light .band-inner:hover {
  transform: translateY(-2px);
}





/* =====================================
   CUSTOM PROJECT — SAFE RESPONSIVE FIX
===================================== */

/* ---- Desktop & default behavior ---- */
.custom-bg {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Make animation bigger (all screens) */
.custom-bg svg {
  width: 100%;
  max-width: 680px;   /* ⬅️ bigger than before */
  height: auto;
  display: block;
}

/* ---- Tablet refinement ---- */
@media (max-width: 1024px) {
  .custom-bg svg {
    max-width: 420px;
  }
}

/* ---- Mobile ONLY ---- */
@media (max-width: 768px) {

  /* DO NOT touch grid */
  .stacked-dark .stacked-inner {
    grid-template-columns: 1fr  !important; /* reset safety */
  }

  /* Center animation */
  .custom-bg {
    order: 2;                /* stays below text */
    justify-content: center;
    align-items: center;
    margin-top: 32px;
  }

  .custom-bg svg {
    max-width: 340px;        /* visually strong but balanced */
    margin: 0 auto;
  }

  /* Center text for mobile only */
  .stacked-dark .stacked-text {
    text-align: center;
  }
}



/* =====================================
   DEVELOPERS HERO — TRUE FULLSCREEN COVER
   (NO WHITE BAR, NO SHRINK)
===================================== */

.developers-hero {
  position: relative;
  height: calc(100vh - 44px);   /* full screen under navbar */
  margin-top: 44px;
  overflow: hidden;
  background: #b57bd3;         /* fallback color */
}

/* Background layer */
.developers-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* SVG / video behaves like background-cover */
.developers-hero-bg svg,
.developers-hero-bg video,
.developers-hero-bg img {
  position: absolute;
  top: 50%;
  left: 50%;

  height: 100%;          /* 🔥 LOCK vertical fill */
  width: auto;           /* allow horizontal crop */

  min-width: 100%;       /* ensure no gaps */

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

  object-fit: cover;     /* safety for <video>/<img> */
}

/* Content above animation */
.developers-hero .hero-content {
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 120px;
  text-align: center;
}



/* =====================================
   ENTERPRISE / MARKETING — COVER ANIMATION
   (Same behavior as Developers hero)
===================================== */

.stacked-jellyfish {
  position: relative;
  overflow: hidden;
}

/* Background animation layer */
.stacked-jellyfish .why-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* SVG behaves like background-size: cover */
.stacked-jellyfish .why-bg svg,
.stacked-jellyfish .why-bg img {
  position: absolute;
  top: 50%;
  left: 50%;

  height: 100%;          /* 🔥 lock vertical fill */
  width: auto;           /* horizontal crop */

  min-width: 100%;       /* no gaps */

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

  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Content stays above */
.stacked-jellyfish .stacked-inner {
  position: relative;
  z-index: 2;
}

/* Mobile: crop more from sides */
@media (max-width: 768px) {
  .stacked-jellyfish .why-bg svg,
  .stacked-jellyfish .why-bg img {
    min-width: 160%;
  }
}



/* =====================================
   CONTACT — HARD COVER FIX (SMALL SCREENS)
===================================== */

.stacked-contact {
  position: relative;
  overflow: hidden;
}

/* Force a minimum visual height */
@media (max-width: 360px) {
  .stacked-contact {
    min-height: 520px;   /* 👈 critical */
  }
}

/* Background layer */
.stacked-contact .contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* SVG behaves like background-cover */
.stacked-contact .contact-bg svg {
  position: absolute;
  top: 50%;
  left: 50%;

  height: 100%;        /* 🔥 lock vertical */
  width: auto;

  min-width: 140%;     /* horizontal crop */

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

/* Content above */
.stacked-contact .stacked-inner {
  position: relative;
  z-index: 2;
}



/* =====================================
   ABOUT HERO — ISOLATED COVER SCALING
   (ONLY affects .about-bg animation)
===================================== */

/* Anchor the hero section */
.hero.hero-light {
  position: relative;
  overflow: hidden;
}

/* Background container */
.about-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* SVG behaves like background-size: cover */
.about-bg > svg {
  position: absolute;
  top: 50%;
  left: 50%;

  height: 100%;        /* 🔥 lock vertical fill */
  width: auto;         /* horizontal crop only */

  min-width: 100%;     /* avoid gaps */

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

  /* HARD isolation */
  max-width: none;
  max-height: none;
}

/* Content stays above */
.hero.hero-light .hero-content {
  position: relative;
  z-index: 2;
}


/* ===============================
   PRICING HERO — NATIVE VIDEO
================================ */

.pricing-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fde6d2;
}

/* Background video layer */
.pricing-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video stays native */
.pricing-hero-video {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;

  object-fit: none;
}

/* Text layer */
.pricing-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  padding: 120px 24px;
  text-align: center;
}

/* ===============================
   SERVICES — VIDEO BACKGROUND
================================ */

.services-section {
  position: relative;
  overflow: hidden;
  background: #f5f5f7; /* fallback */
}

/* Background layer */
.services-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Video behaves like a background */
.services-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;

  height: 100%;      /* 🔒 lock vertical fill */
  width: auto;       /* allow horizontal crop */

  min-width: 120%;   /* stronger fill on wide screens */

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

  object-fit: cover; /* safety */
  object-position: center;

  opacity: 1;
}

/* Content always above */
.services-section .section-header,
.services-section .grid-inner {
  position: relative;
  z-index: 2;
}

/* Mobile: hide video (performance + clarity) */
@media (max-width: 768px) {
  .services-bg {
    display: none;
  }
}


@media (max-width: 768px) {
  .services-bg svg,
  .hero-float svg,
  .about-bg svg {
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* @media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
} */

.stacked-contact {
  position: relative;
  overflow: hidden;
}

.contact-bg {
  position: absolute;
  inset: 0;
  z-index: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.contact-bg svg {
  width: 160%;
  height: 160%;

  transform: scale(3);

  opacity: 0.95;
}

.stacked-contact .stacked-inner {
  position: relative;
  z-index: 2;
}

.contact-bg svg {
  position: absolute;

  min-width: 220%;
  min-height: 220%;

  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%) scale(2.5);
}


/* CONTACT LAYOUT FIX */
.stacked-contact .stacked-inner {
  grid-template-columns: 1fr 1.15fr !important;
  column-gap: 120px !important;
}

.stacked-contact .stacked-text:last-child {
  padding-left:180px !important;
}


.stacked-contact .stacked-text:last-child {
  text-align: right;
  align-items: flex-end;
}

.stacked-contact .stacked-text:last-child .cta-row {
  justify-content: flex-end;
}

@media (max-width: 900px) {
  .contact-bg svg {
    transform:
      translate(-50%, -45%)
      scale(1.9);

    opacity: 0.55;
  }
}

/* ===============================
   CONTACT MOBILE FIX
================================ */

@media (max-width: 768px) {

  .stacked-contact .stacked-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;

    gap: 2.5rem !important;
  }

  .stacked-contact .stacked-text,
  .stacked-contact .stacked-text:last-child {
    width: 100% !important;

    text-align: center !important;

    align-items: center !important;

    padding-left: 0 !important;
  }

  .stacked-contact h2 {
    color: #fff !important;
    font-weight: 700 !important;
    text-align: center !important;
  }

  .stacked-contact p,
  .stacked-contact a,
  .stacked-contact span {
    color: #fff !important;
    font-weight: 500 !important;
    text-align: center !important;
  }

  .stacked-contact .cta-row {
    justify-content: center !important;
  }

  .contact-bg svg {

    top: 50%;
    left: 50%;

    transform:
      translate(-50%, -50%)
      scale(0.7) !important;

    opacity: 0 !important;
  }

}


@media (max-width: 768px) {

  .band-bg {
    display: flex;
    justify-content: center;
    align-items: center;

    overflow: hidden;
  }

  .band-bg svg {
    width: 95vw !important;
    max-width: 420px;

    height: auto;

    display: block;
    margin: 0 auto;

    position: relative;
    left: 0 !important;
    transform: none !important;
  }

}


/* =====================================
   PRICING HERO
===================================== */

.pricing-hero{
    background:#f5f5f7;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;

    text-align:center;

    padding:0px 20px 0;
}

/* TEXT */
.pricing-hero-content{
    max-width:820px;

    display:flex;
    flex-direction:column;
    align-items:center;

    gap:14px;

    margin-bottom:0;
}

/* CAT WRAPPER */
.pricing-hero-bg{
    display:flex;
    justify-content:center;
    align-items:center;

    margin-top:-40px;
    margin-bottom:-350px; 
}

/* CAT */
.pricing-hero-animation{
    width:min(42vw, 520px);
    height:auto;

    display:block;
}

/* =====================================
   TABLET
===================================== */

@media (max-width:1024px){

    .pricing-hero{
        padding-top:0px;
    }

    .pricing-hero-bg{
        margin-top:-20px;
        margin-bottom:-40px;
    }

    .pricing-hero-animation{
        width:min(52vw, 480px);
    }
}

/* =====================================
   MOBILE
===================================== */

@media (max-width:768px){

    .pricing-hero{
        padding-top:0px;
    }

    .pricing-hero-content{
        gap:10px;
    }

    .pricing-hero-bg{
        margin-top:-10px;
        margin-bottom:-220px;
    }

    .pricing-hero-animation{
        width:480px;
    }
}

.developers-handshake{
    display:flex;
    justify-content:center;
    align-items:center;

    margin:-40px 0 -20px;

    position:relative;
    z-index:2;
    background: #f5f5f7;
}

.developers-handshake-animation{
    width:min(420px, 80vw);
    height:auto;

    display:block;
}

/* mobile */
@media (max-width:768px){

    .developers-handshake{
        margin:-10px 0 0;
    }

    .developers-handshake-animation{
        width:220px;
    }
}

/* Culture & collaboration */
.band-light, .grid-section{
    background:#f5f5f7;
}

/* Core capabilities */
.what-we-do{
    background:#f5f5f7;
}

/* Work with us */
.band{
    background:#f5f5f7;
}



/* Disable lottie on mobile */
@media (max-width: 768px) {
  .blog-hero-bg {
    display: none;
  }
}

/* Technologies section heading only */
.technologies-section .section-header h2 {
  color: #000;
}



/* ===============================
   Selected Work – Match Services
================================ */

.selected-work-section {
  background: #f5f5f7;
}

.selected-work-section .section-header h2 {
  color: #000;
}

.selected-work-section .section-header p {
  color: #6e6e73;
}

.selected-work-section .grid-inner {
  max-width: 1200px;
  margin: 0 auto;
  gap: 48px;
}

.selected-work-section .grid-tile {
  background: #f5f5f7;
  border-radius: 22px;

  padding: 40px;

  border: 1px solid rgba(0,0,0,0.06);

  transition:
    transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.selected-work-section .grid-tile:hover {
  transform: translateY(-6px);

  box-shadow: 0 22px 50px rgba(0,0,0,0.10);

  border-color: rgba(0,0,0,0.12);
}

.selected-work-section .grid-tile h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;

  color: #1d1d1f;
}

.selected-work-section .case-desc {
  color: #6e6e73;
  line-height: 1.6;
  margin-bottom: 18px;
}

.selected-work-section .case-result {
  color: #1d1d1f;
  font-weight: 500;
  opacity: 0.9;
}

/* Responsive */
@media (min-width: 768px) {
  .selected-work-section .grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .selected-work-section .grid-inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===============================
   Project CTA Lottie Size Fix
================================ */

.band dotlottie-player.why-lottie {
  width: 420px;
  height: 420px;

  max-width: 100%;
  margin: 0 auto;
}

/* Large desktops */
@media (min-width: 1600px) {
  .band dotlottie-player.why-lottie {
    width: 480px;
    height: 480px;
  }
}

/* Tablets */
@media (max-width: 1024px) {
  .band dotlottie-player.why-lottie {
    width: 320px;
    height: 320px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .band dotlottie-player.why-lottie {
    width: 340px;
    height: 340px;
  }
}


/* ===============================
   Premium Office Card
================================ */

.office-card {
  background: #ffffff;

  border-radius: 28px;

  overflow: hidden;

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

  box-shadow:
    0 12px 34px rgba(0,0,0,0.05);

  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.office-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 24px 60px rgba(0,0,0,0.08);
}

/* Image */

.office-image {
  height: 340px;
  overflow: hidden;
}

.office-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.6s ease;
}

.office-card:hover .office-image img {
  transform: scale(1.03);
}

/* Content */

.office-content {
  padding: 40px;
}

.office-label {
  display: inline-block;

  font-size: 0.85rem;
  font-weight: 600;

  letter-spacing: 0.04em;

  text-transform: uppercase;

  color: #0071e3;

  margin-bottom: 14px;
}

.office-content h3 {
  font-size: 2rem;
  font-weight: 600;

  color: #1d1d1f;

  margin-bottom: 14px;
}

.office-content p {
  color: #6e6e73;

  line-height: 1.6;

  margin-bottom: 28px;
}

/* Details */

.office-details {
  list-style: none;

  padding: 0;
  margin: 0 0 32px;
}

.office-details li {
  display: flex;
  flex-direction: column;

  gap: 6px;

  padding: 16px 0;

  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.office-details li:last-child {
  border-bottom: none;
}

.office-details strong {
  color: #1d1d1f;
  font-size: 0.95rem;
}

.office-details span {
  color: #6e6e73;
  line-height: 1.5;
}

/* Match form height */

.office-card,
.contact-form-card {
  min-height: 760px;
}

/* Mobile */

@media (max-width: 768px) {

  .office-content {
    padding: 28px 24px;
  }

  .office-content h3 {
    font-size: 1.6rem;
  }

  .office-image {
    height: 240px;
  }

  .office-card,
  .contact-form-card {
    min-height: auto;
  }
}


.contact-split-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;

  align-items:stretch;
}

.office-card,
.contact-form-card{
  width:100%;
  height:100%;
  box-sizing:border-box;
}

/* MATCH BOTH CARDS */
.office-card{
  display:flex;
  flex-direction:column;

  background:#fff;
  border-radius:32px;
  overflow:hidden;
}

/* IMAGE HEIGHT */
.office-image{
  width:100%;
  height:320px;
  overflow:hidden;
  flex-shrink:0;
}

.office-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* CONTENT AREA */
.office-content{
  padding:42px;
  flex:1;
}

/* FORM CARD */
.contact-form-card{
  background:#fff;
  border-radius:32px;
  padding:42px;
}

/* MOBILE */
@media (max-width: 992px){

  .contact-split-inner{
    grid-template-columns:1fr;
  }

}





.mobile-dev-lottie{
  display:none;
}

.mobile-dev-lottie dotlottie-player{
  width:100%;
  max-width:480px;
  height:480px;
}

@media (max-width: 768px){

  .mobile-dev-lottie{
    display:flex;
    justify-content:center;
    align-items:center;
  }

}


/* ===============================
   FINAL Apple Active Nav
================================ */

.apple-nav-links a {
  position: relative !important;
}

/* inactive */
.apple-nav-links a:not(.active) {
  opacity: 0.78;
}

/* active */
.apple-nav-links a.active {
  opacity: 1 !important;
  color: #101C32 !important;
}

/* underline */
.apple-nav-links a.active::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -6px;

  width: 100%;
  height: 1.5px;

  background: #101C32;

  border-radius: 999px;

  animation: navLineIn 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

@keyframes navLineIn {
  from {
    opacity: 0;
    transform: scaleX(0.6);
  }

  to {
    opacity: 1;
    transform: scaleX(1);
  }
}



/* =========================================
   FINAL CTA LOTTIE FIX
========================================= */

.project-cta{
  overflow: hidden;
}

.project-cta .cta-bg{
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;

  margin-bottom: 24px;
}

.project-cta .why-lottie{
  display: block !important;

  width: 280px !important;
  height: 280px !important;

  object-fit: contain;

  flex-shrink: 0;
}

/* TABLET */

@media (max-width: 768px){

  .project-cta .why-lottie{
    width: 150px !important;
    height: 150px !important;
  }

}

/* MOBILE */

@media (max-width: 480px){

  .project-cta .why-lottie{
    width: 180px !important;
    height: 120px !important;
  }

}


/* =========================================
   CONTACT HERO MOBILE LOTTIE
========================================= */

/* hidden on desktop */

.contact-mobile-lottie{
  display: none;
}

/* mobile only */

@media (max-width: 768px){

  .contact-mobile-lottie{
    display: flex;
    justify-content: center;
    opacity: 0.75;
    margin-top: 2rem;
  }

  .contact-mobile-lottie dotlottie-player{
    width: 400px;
    height: 400px;
    
    display: block;

    flex-shrink: 0;
  }

}

/* =========================================
   DEVELOPERS HERO MOBILE LOTTIE
========================================= */

.developers-mobile-lottie{
  display: none;
}

@media (max-width: 768px){

  .developers-mobile-lottie{
    display: flex;
    justify-content: center;

    margin-top: 2rem;
  }

  .developers-mobile-lottie dotlottie-player{
    width: 400px;
    height: 400px;

    display: block;

    flex-shrink: 0;
  }

}

/* =========================================
   SERVICES HERO MOBILE LOTTIE
========================================= */

.services-mobile-lottie{
  display: none;
}

@media (max-width: 768px){

  .services-mobile-lottie{
    display: flex;
    justify-content: center;

    margin-top: 2rem;
  }

  .services-mobile-lottie dotlottie-player{
    width: 450px;
    height: 450px;

    display: block;

    flex-shrink: 0;
  }

}

.footer-address a {
  text-decoration: none !important;
}

.footer-address a:hover {
  text-decoration: none !important;
}

.contact-list span,
.band-link,
.directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-list span i,
.band-link i,
.directions-btn i {
  font-size: 16px;
  line-height: 1;
}

.contact-list strong a {
  text-decoration: none;
  color: inherit;
}

.contact-list strong a:hover {
  text-decoration: none;
}

.testimonial figcaption {
  margin-top: 18px;

  display: flex;
  flex-direction: column;
  align-items: flex-end;

  text-align: right;
}

/* ===============================
   Blog Hero Mobile Lottie
================================ */

.mobile-blog-lottie {
  display: none;
}

@media (max-width: 1024px) {

  .blog-hero-bg {
    display: none;
  }

  .mobile-blog-lottie {
    display: flex;
    justify-content: center;
    margin-top: 32px;
  }

  .mobile-blog-lottie dotlottie-player {
    width: min(82vw, 420px);
    height: min(82vw, 420px);
  }
}

@media (max-width: 768px) {

  .blog-card.reveal {
    transform: translateY(8px);
  }
}

/* ===============================
   About Hero Fullscreen Background
================================ */

.about-hero-bg {
  position: absolute;
  inset: 0;

  z-index: 0;
  pointer-events: none;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.about-hero-bg dotlottie-player {
  width: 120vw;
  height: 120vh;

  opacity: 0.9;

  transform: scale(1.05);
}

/* Keep content above animation */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Hide desktop background on mobile/tablet */
@media (max-width: 1024px) {

  .about-hero-bg {
    display: none;
  }
}




.contact-hero-bg {

  display: flex;
  justify-content: center;
}

.contact-hero-bg dotlottie-player {
  width: 350px;
  height: 350px;

  
}

/* Hide desktop lottie on mobile/tablet */
@media (max-width: 1024px) {

  .contact-hero-bg {
    display: none;
  }
}






.index-hero-bg {
  position: absolute;
  inset: 0;

  z-index: 0;
  pointer-events: none;

  display: flex;
  align-items: center;
  justify-content: center;

  overflow: hidden;
}

.index-hero-bg dotlottie-player {
  width: 120vw;
  height: 120vh;

  opacity: 0.9;

  transform: scale(1.05);
}

/* Keep content above animation */
.hero-content {
  position: relative;
  z-index: 2;
}

/* Hide desktop background on mobile/tablet */
@media (max-width: 1024px) {

  .index-hero-bg {
    height: 400px;
    width: 400px;

    transform: scale(2.5);
  }
}




/* HERO SECTION */
.home-hero{
  position: relative;
}

/* hide on desktop */
.mobile-bottom-bird{
  display: none;
}

/* mobile + tablet */
@media (max-width: 1024px){

  .mobile-bottom-bird{
    display: block;

    position: absolute;

    left: 50%;
    bottom: -100%;

    transform: translateX(-50%);

    z-index: 1;

    pointer-events: none;
  }

  .mobile-bottom-bird dotlottie-player{
    width: 450px;
    height: 450px;

    transform: scaleX(-1);
  }

}