
:root {
    --bg-services: #06070d;
    --surface: #0e1120;
    --border: rgba(255,255,255,0.07);
    --accent: #ff5e1a;
    --accent2: #7c3aed;
    --text: #e8eaf0;
    --muted: #7a7d91;
    --card-bg: #10132a;

    --bg-counter: #080c18;
    --text-counter: #f0f2ff;
    --muted-counter: #6b7094;
    --line-counter: rgba(255,255,255,0.06);
    --surface-counter: #080c18;
    --hover-counter: rgba(255,255,255,0.07);
  }
  h2 .grad {
    background: linear-gradient(90deg, #818cf8, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  
  .service-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,94,26,0.1);
    border: 1px solid rgba(255,94,26,0.3);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 99px;
  }
  
  .service-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 1.8s ease infinite;
  } 
  .service-subtext {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 300;
    max-width: 750px;
    margin: 0 auto;
    line-height: 1.7;
  }

 /* ── FONT ── */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2') format('woff2');
}

.services-bg{
background: var(--bg-services);
}
   /* ── GRID ── */
  .grid {
    
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    color: #e8eaf0;
    font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  }

  .card1 {
    background: var(--card-bg);
    color: #e8eaf0;
    padding: 2.2rem 2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-align: left;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.3s ease;
    will-change: transform;
  }
  
  .card1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(255,94,26,0.09) 0%, transparent 65%);
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .card1:hover {
    background: #141735;
    border-color: rgba(255,94,26,0.25);
    transform: translateY(-4px);
  }
  
  .card1:hover::before { opacity: 1; }

  .card1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    border-radius: 2px 2px 0 0;
  }
  
  .card1:hover::after { transform: scaleX(1); }

  .icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
    font-size: 1.5rem;
  }
  
  .card1:hover .icon-wrap {
    background: rgba(255,94,26,0.12);
    border-color: rgba(255,94,26,0.4);
    transform: translateY(-3px);
  }

  .card-title {
    font-family: 'Syne', serif;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
    transition: color 0.3s;
  }
  
  .card1:hover .card-title { color: #fff; }

  .card-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.65;
    font-weight: 300;
  }

  .card-number {
    position: absolute;
    bottom: 1.4rem;
    right: 1.8rem;
    font-family: 'Syne', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.04);
    letter-spacing: -0.05em;
    line-height: 1;
    pointer-events: none;
    transition: color 0.3s;
  }
  
  .card1:hover .card-number { color: rgba(255,94,26,0.07); }

  .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 1.2rem;
  }
  
  .tag {
    font-size: 0.7rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 99px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: rgba(255,255,255,0.03);
    transition: all 0.25s;
  }
  
  .card1:hover .tag {
    border-color: rgba(255,94,26,0.25);
    color: #c0c3d6;
  }

  .arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--accent);
    margin-top: 1.2rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.3s, transform 0.3s;
  }
  
  .card1:hover .arrow {
    opacity: 1;
    transform: translateX(0);
  }
  
  .arrow svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
  }
  
  .card1:hover .arrow svg { transform: translateX(3px); }

  /* ── CTA ROW ── */
  .cta-row {
    display: flex;
    align-items: left;
    justify-content: space-between;
    margin-top: 3.5rem;
    padding: 2rem 2.4rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .cta-row p {
    font-size: 0.95rem;
    color: var(--muted);
  }
  
  .cta-content {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;   /* makes strong + p align left */
}

  .cta-row strong {
    color: #e8eaf0;
    font-weight: 500;
    display: block;
    text-align: left;
   align-self: flex-start; 
    margin-bottom: 0.2rem;
    font-size: 1.05rem;
  }
  
  .btn {
    flex-shrink: 0;
    padding: 0.8rem 1.8rem;
    border-radius: 10px;
    background: var(--accent);
    color: #fff;
    font-family: 'Syne', serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(255,94,26,0.3);
  }
  
  .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255,94,26,0.45);
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(28px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* .label { animation: fadeUp 0.5s ease both; }
  .heading { animation: fadeUp 0.5s 0.1s ease both; }
  .subheading { animation: fadeUp 0.5s 0.18s ease both; }
  .card { animation: fadeUp 0.45s ease both; }
  .card:nth-child(1) { animation-delay: 0.25s; }
  .card:nth-child(2) { animation-delay: 0.32s; }
  .card:nth-child(3) { animation-delay: 0.39s; }
  .card:nth-child(4) { animation-delay: 0.46s; }
  .card:nth-child(5) { animation-delay: 0.53s; }
  .card:nth-child(6) { animation-delay: 0.60s; }
  .cta-row { animation: fadeUp 0.5s 0.65s ease both; } */

  @media (max-width: 900px) {
    .grid { grid-template-columns: 1fr 1fr; }
  }
  
  @media (max-width: 600px) {
    .grid { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    section { padding: 4rem 5%; }
  }

  /* Reduce motion for users who prefer it */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }


  /***************** counter start ******************/
  .counter-section {
    width: 100%;
    max-width: 1280px;
    margin: 0px auto;
    background: var(--surface-counter);
    border: 1px solid var(--line-counter);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    margin-top: 3.5rem;
  }

  /* Animated gradient border on top */
  .counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899, #6366f1);
    background-size: 200% 100%;
    animation: gradientShift 4s linear infinite;
  }
  
  @keyframes gradientShift {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
  }

  /* Subtle glow effect */
  .counter-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse at 15% 50%, rgba(99,102,241,0.08) 0%, transparent 50%),
      radial-gradient(ellipse at 85% 50%, rgba(168,85,247,0.08) 0%, transparent 50%);
    pointer-events: none;
  }

  .counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 1;
  }

  .counter-item {
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: background 0.3s ease;
  }
  
  /* Vertical dividers */
  .counter-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    bottom: 25%;
    width: 1px;
    background: var(--line-counter);
  }
  
  .counter-item:hover {
    background: var(--hover-counter);
  }

  /* Unique gradient accent per item */
  .counter-item::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
  }
  
  .counter-item:hover::before { opacity: 1; }
  .counter-item:nth-child(1)::before {
    background: radial-gradient(ellipse at center, rgba(99,102,241,0.06) 0%, transparent 70%);
  }
  .counter-item:nth-child(2)::before {
    background: radial-gradient(ellipse at center, rgba(236,72,153,0.06) 0%, transparent 70%);
  }
  .counter-item:nth-child(3)::before {
    background: radial-gradient(ellipse at center, rgba(168,85,247,0.06) 0%, transparent 70%);
  }
  .counter-item:nth-child(4)::before {
    background: radial-gradient(ellipse at center, rgba(244,114,182,0.06) 0%, transparent 70%);
  }

  /* Icon badge */
  .counter-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
  }
  
  .counter-item:hover .counter-icon {
    transform: scale(1.1) rotate(-5deg);
  }
  
  .counter-item:nth-child(1) .counter-icon { background: rgba(99,102,241,0.15); }
  .counter-item:nth-child(2) .counter-icon { background: rgba(236,72,153,0.15); }
  .counter-item:nth-child(3) .counter-icon { background: rgba(168,85,247,0.15); }
  .counter-item:nth-child(4) .counter-icon { background: rgba(244,114,182,0.15); }

  /* Number */
  .counter-number {
    font-size: clamp(2.6rem, 4.5vw, 3.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 0.85rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
  }
  
  .counter-number .val {
    background: linear-gradient(135deg, #fff 40%, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  /* Suffix styling */
  .suffix {
    font-size: 0.75em;
    background: linear-gradient(135deg, #818cf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  /* On hover - flip gradient */
  .counter-item:hover .counter-number .val {
    background: linear-gradient(135deg, #818cf8, #c084fc, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  
  .counter-item:hover .suffix {
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  /* Label */
  .counter-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted-counter);
    transition: color 0.3s;
    position: relative;
    z-index: 1;
  }
  
  .counter-item:hover .counter-label {
    color: #a5b4fc;
  }

  /* Decorative dot */
  .counter-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    margin-top: 1rem;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
    position: relative;
    z-index: 1;
  }
  
  .counter-item:nth-child(1) .counter-dot { background: #6366f1; }
  .counter-item:nth-child(2) .counter-dot { background: #ec4899; }
  .counter-item:nth-child(3) .counter-dot { background: #a855f7; }
  .counter-item:nth-child(4) .counter-dot { background: #f472b6; }
  
  .counter-item:hover .counter-dot {
    opacity: 1;
    transform: scale(1.6);
  }

  /* Animations */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .counter-section { animation: fadeUp 0.6s ease both; }
  .counter-item { animation: fadeUp 0.5s ease both; }
  .counter-item:nth-child(1) { animation-delay: 0.15s; }
  .counter-item:nth-child(2) { animation-delay: 0.25s; }
  .counter-item:nth-child(3) { animation-delay: 0.35s; }
  .counter-item:nth-child(4) { animation-delay: 0.45s; }

  /* Responsive */
  @media (max-width: 768px) {
    .counter-grid { grid-template-columns: repeat(2, 1fr); }
    
    .counter-item:nth-child(2)::after { display: none; }
    
    .counter-item:nth-child(odd):not(:last-child)::after {
      display: block;
    }
    
    .counter-item:nth-child(2n)::after { display: none; }
    .counter-item { padding: 2.5rem 1.5rem; }
    
    .counter-item:nth-child(1),
    .counter-item:nth-child(2) {
      border-bottom: 1px solid var(--line-counter);
    }
  }
/***************** counter End ******************/

/***************** Why Choose Us start ******************/
.why-dark{
  margin-top: 3.5rem;
  padding:50px 20px;
  background:#060a13;
  color:#fff;
}

.why-dark .container{
  max-width:1400px; /* increased width */
  margin:auto;
}

/* ===== GRADIENT TEXT ===== */
.grad{
  background:linear-gradient(90deg,#7c3aed,#06b6d4);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  color:transparent;
}

/* ===== HEADER ===== */
.why-dark .header{
  text-align:center;
  margin-bottom:70px;
}

.why-dark .tag{
  color:#8b5cf6;
  font-weight:600;
  font-size:13px;
  letter-spacing:1.5px;
}

.why-dark h2{
  font-size:42px;
  margin:12px 0;
  font-weight:700;
  color: #fff;
}

.why-dark .header p{
  color:#9aa4b2;
  font-size:18px;
}

/* ===== GRID ===== */
.why-dark .grid{
  display:grid;
  grid-template-columns:1.1fr 1.3fr;
  gap:30px;
  align-items:start;
}

/* ===== LEFT TEXT ===== */
.why-dark .left h3{
  font-size:28px;
  margin-bottom:20px;
  color:#fff;
}

.why-dark .left p{
  color:#9aa4b2;
  margin-bottom:18px;
  line-height:1.7;
}

.why-dark .cta{
  display:inline-block;
  padding:15px 30px;
  background:linear-gradient(90deg,#7c3aed,#06b6d4);
  border-radius:10px;
  color:#fff;
  text-decoration:none;
  font-weight:600;
  margin-top:10px;
  transition:.3s;
}

.why-dark .cta:hover{
  transform:translateY(-2px);
}

/* ===== RIGHT CARDS (3 PER ROW WIDER) ===== */
.why-dark .right{
  display:grid;
  grid-template-columns:repeat(3, minmax(250px,1fr));
  gap:24px;
}

/* ===== CARD STYLE ===== */
.why-dark .card{
  background:#0b1220;
  padding:28px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.06);
  min-height:160px;
  position:relative;
  transition:.35s;
}

/* HOVER GLOW */
.why-dark .card:hover{
  transform:translateY(-8px);
  border-color:#7c3aed;
  box-shadow:0 0 30px rgba(124,58,237,0.25);
}

/* GRADIENT BORDER */
.why-dark .card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:16px;
  padding:1px;
  background:linear-gradient(120deg,#7c3aed,transparent,transparent);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
  opacity:.25;
}

.why-dark .card h4{
  font-size:18px;
  margin-bottom:8px;
  color:#fff;
}

.why-dark .card p{
  color:#94a3b8;
  font-size:15px;
  line-height:1.6;
}

/* ===== TABLET ===== */
@media(max-width:1200px){
  .why-dark .right{
    grid-template-columns:repeat(2, 1fr);
  }

  .why-dark .grid{
    grid-template-columns:1fr;
  }
}

/* ===== MOBILE ===== */
@media(max-width:700px){
  .why-dark .right{
    grid-template-columns:1fr;
  }

  section.why-dark h2{
    font-size:30px;
    color:#fff
  }
}
/***************** Why Choose Us End ******************/

/* ===== Why Choose Us -Services SECTION ===== */
.why-webdev{
  padding:100px 20px;
  background:#0b0f19;
}

.container{
  max-width:1100px;
  margin:auto;
}

/* HEADER */
.why-header{
  text-align:center;
  margin-bottom:50px;
}

.why-header h2{
  font-size:34px;
  margin-bottom:10px;
  color:#fff;
}

.why-header p{
  color:#94a3b8;
  font-size:16px;
  max-width:700px;
  margin:auto;
}

/* GRADIENT */
.grad{
  background:linear-gradient(90deg,#2563eb,#06b6d4);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

/* GRID */
.why-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

/* CARD */
.why-card{
  background:#020617;
  padding:26px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,0.06);
  min-height:150px;
  transition:.3s;
}

.why-card:hover{
  transform:translateY(-6px);
  border-color:#2563eb;
}

.why-card h4{
  font-size:17px;
  margin-bottom:6px;
  color:#fff;
}

.why-card p{
  color:#94a3b8;
  font-size:14px;
  line-height:1.5;
}

/* TABLET */
@media(max-width:900px){
  .why-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

/* MOBILE */
@media(max-width:600px){
  .why-grid{
    grid-template-columns:1fr;
  }
}