* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg: #ffffff;
  --navy: #0d1117;
  --navy-soft: #161c2b;
  --text: #12141c;
  --muted: #667085;
  --teal: #14b8a6;
  --teal-dark: #0d9488;
  --teal-tint: #e5faf7;
  --line: #e7e9ee;
  --radius: 20px;
  --shadow: 0 20px 45px -18px rgba(13, 17, 23, 0.18);
  --container: 1180px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; font-weight: 600; letter-spacing: -0.01em; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

.eyebrow { color: var(--teal-dark); font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }

.arrow { display: inline-block; transition: transform 0.25s ease; }
a:hover .arrow, button:hover .arrow { transform: translateX(3px); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--teal); color: #fff;
  padding: 13px 24px; border-radius: 30px; font-weight: 500; font-size: 0.95rem;
  transition: background 0.25s ease, transform 0.25s ease;
}
.btn-primary:hover { background: var(--teal-dark); transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center;
  padding: 13px 24px; border-radius: 30px; border: 1px solid var(--line);
  font-weight: 500; font-size: 0.95rem; transition: border-color 0.25s ease, transform 0.25s ease;
}
.btn-outline:hover { border-color: var(--navy); transform: translateY(-2px); }

/* generic container used by sections that don't have their own -inner wrapper
   (e.g. testimonials, cta) — was missing before, causing full-bleed sections */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ============ NAV ============ */
#menu-toggle { display: none; }
header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
nav { max-width: var(--container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 18px 28px; }

.logo { display: flex; align-items: center; gap: 10px; font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.15rem; }
.logo img { width: 32px; height: auto; }
.logo em { font-style: normal; color: var(--teal); }

.nav-links { display: flex; gap: 32px; font-size: 0.92rem; font-weight: 500; }
.nav-links a { position: relative; padding-bottom: 3px; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--teal); transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 20px; }
.hamburger { display: none; flex-direction: column; gap: 5px; width: 22px; cursor: pointer; }
.hamburger span { height: 2px; background: var(--text); display: block; transition: transform 0.3s ease, opacity 0.3s ease; }
#menu-toggle:checked ~ header .hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-toggle:checked ~ header .hamburger span:nth-child(2) { opacity: 0; }
#menu-toggle:checked ~ header .hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { padding: 0px 28px 90px; }
.hero-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }

.hero-text h1 { font-size: 3.1rem; line-height: 1.12; margin-bottom: 20px; color: var(--navy); }
.hero-sub { color: var(--muted); font-size: 1.05rem; max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 46px; flex-wrap: wrap; }

.trusted span { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.trusted-logos { display: flex; gap: 26px; flex-wrap: wrap; }
.trusted-logos span { font-family: 'Poppins', sans-serif; font-weight: 600; color: #b7bcc8; font-size: 1rem; }

/* --- infinite vertical marquee (hero visual) --- */
.hero-visual {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  height: 520px; overflow: hidden;
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}
.scroll-col { overflow: hidden; border-radius: 14px; }
.scroll-track { display: flex; flex-direction: column; gap: 14px; will-change: transform; }
.scroll-track img { width: 100%; height: 160px; object-fit: cover; border-radius: 14px; }

.col-up .scroll-track { animation: scrollUp 26s linear infinite; }
.col-down .scroll-track { animation: scrollDown 26s linear infinite; }
.hero-visual:hover .scroll-track { animation-play-state: paused; }

@keyframes scrollUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@keyframes scrollDown { from { transform: translateY(-50%); } to { transform: translateY(0); } }

@media (prefers-reduced-motion: reduce) {
  .scroll-track { animation: none !important; }
}

/* ============ SECTION HEAD (shared) ============ */
.section-head { max-width: var(--container); margin: 0 auto 50px; padding: 0 28px; text-align: center; }
.section-head h2 { font-size: 2.2rem; color: var(--navy); }

/* ============ SERVICES (home page cards) ============ */
.services { padding: 100px 28px; background: var(--bg); }
.services-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.service-card { padding: 32px 26px; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--teal-tint); border-radius: 14px; font-size: 1.4rem; margin-bottom: 20px; color: var(--teal-dark); border: 1px solid #d9efec; background: #f2fbfa; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; color: var(--navy); }
.service-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.learn-more { color: var(--teal-dark); font-weight: 500; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }

/* ============ ABOUT ============ */
.about { padding: 40px 28px 100px; }
.about-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-image { border-radius: var(--radius); overflow: hidden; }
.about-content h2 { font-size: 2rem; margin: 8px 0 18px; color: var(--navy); }
.about-content p { color: var(--muted); margin-bottom: 16px; max-width: 480px; }


/* =====================================================
   NETTRIX ABOUT SECTION
===================================================== */

.about {
    position: relative;
    overflow: hidden;

    padding: 120px 6%;

    background: #f7f9f8;
}


/* =====================================================
   MAIN LAYOUT
===================================================== */

.about-inner {
    max-width: 1280px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 80px;
}


/* =====================================================
   IMAGE AREA
===================================================== */

.about-image {
    position: relative;

    border-radius: 28px;

    overflow: visible;

    animation: aboutImageEnter 1s ease forwards;
}


/* IMAGE */

.about-image img {
    display: block;

    width: 100%;
    height: 560px;

    object-fit: cover;

    border-radius: 28px;

    box-shadow:
        0 25px 70px rgba(17, 19, 24, 0.12);

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


/* IMAGE HOVER */

.about-image:hover img {
    transform: scale(1.025);

    box-shadow:
        0 30px 80px rgba(18, 184, 176, 0.16);
}


/* =====================================================
   TOP IMAGE BADGE
===================================================== */

.about-image-badge {
    position: absolute;

    top: 25px;
    left: 25px;

    z-index: 5;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 13px 18px;

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

    border: 1px solid rgba(18, 184, 176, 0.18);

    border-radius: 16px;

    box-shadow:
        0 12px 35px rgba(17, 19, 24, 0.12);

    backdrop-filter: blur(10px);

    animation: badgeFloat 4s ease-in-out infinite;
}


/* BADGE ICON */

.badge-icon {
    width: 34px;
    height: 34px;

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

    border-radius: 10px;

    background: #12b8b0;

    color: white;

    font-size: 15px;
}


/* BADGE TEXT */

.about-image-badge div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.about-image-badge strong {
    color: #111318;

    font-size: 13px;
    font-weight: 700;
}

.about-image-badge span:last-child {
    color: #73777c;

    font-size: 11px;
}


/* =====================================================
   EXPERIENCE BADGE
===================================================== */

.about-year-badge {
    position: absolute;

    right: -20px;
    bottom: 25px;

    z-index: 5;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 17px 20px;

    background: #111318;

    color: white;

    border-radius: 17px;

    box-shadow:
        0 20px 45px rgba(17, 19, 24, 0.20);

    animation: badgeFloat 4s ease-in-out infinite;
    animation-delay: 1s;
}


.about-year-badge strong {
    color: #12b8b0;

    font-size: 30px;
    line-height: 1;

    font-weight: 700;
}


.about-year-badge span {
    color: #e9eeee;

    font-size: 11px;
    line-height: 1.4;
}


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

.about-content {
    max-width: 610px;
}


/* =====================================================
   EYEBROW
===================================================== */

.about-eyebrow {
    display: flex;
    align-items: center;

    gap: 10px;

    margin: 0 0 20px;

    color: #73777c;

    font-size: 13px;
    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* TEAL LINE */

.about-eyebrow span {
    width: 45px;
    height: 2px;

    background: #12b8b0;

    border-radius: 10px;
}


/* =====================================================
   HEADING
===================================================== */

.about-content h2 {
    margin: 0 0 28px;

    color: #111318;

   font-size: clamp(32px, 3vw, 48px);

    line-height: 1.03;

    letter-spacing: -3px;

    font-weight: 700;
}


/* TEAL HEADING */

.about-content h2 span {
    color: #12b8b0;
}


/* =====================================================
   PARAGRAPHS
===================================================== */

.about-text {
    margin: 0 0 20px;

    color: #73777c;

    font-size: 16px;

    line-height: 1.75;
}


/* =====================================================
   FEATURES
===================================================== */

.about-features {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin: 32px 0;
}


/* FEATURE CARD */

.about-feature {
    display: flex;

    gap: 14px;

    padding: 18px;

    background: white;

    border: 1px solid #dfe5e3;

    border-radius: 16px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* FEATURE HOVER */

.about-feature:hover {
    transform: translateY(-5px);

    border-color: #12b8b0;

    box-shadow:
        0 15px 35px rgba(18, 184, 176, 0.10);
}


/* NUMBER */

.feature-number {
    color: #12b8b0;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;
}


/* FEATURE HEADING */

.about-feature h3 {
    margin: 0 0 6px;

    color: #111318;

    font-size: 15px;
}


/* FEATURE TEXT */

.about-feature p {
    margin: 0;

    color: #73777c;

    font-size: 12px;

    line-height: 1.5;
}


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

.about-btn {
    display: inline-flex;

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

    gap: 15px;

    padding: 15px 22px;

    border: 1px solid #12b8b0;

    border-radius: 50px;

    background: transparent;

    color: #111318;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


/* ARROW */

.about-btn strong {
    color: #12b8b0;

    font-size: 19px;

    transition:
        transform 0.3s ease,
        color 0.3s ease;
}


/* BUTTON HOVER */

.about-btn:hover {
    background: #12b8b0;

    color: white;

    transform: translateY(-3px);
}


.about-btn:hover strong {
    color: white;

    transform: translateX(5px);
}


/* =====================================================
   ANIMATIONS
===================================================== */

@keyframes aboutImageEnter {

    from {
        opacity: 0;
        transform: translateX(-45px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}


@keyframes badgeFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


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

@media (max-width: 1000px) {

    .about {
        padding: 100px 5%;
    }

    .about-inner {
        grid-template-columns: 1fr 1fr;

        gap: 45px;
    }

    .about-image img {
        height: 480px;
    }

    .about-content h2 {
        font-size: 46px;

        letter-spacing: -2px;
    }

    .about-text {
        font-size: 15px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .about-year-badge {
        right: -10px;
    }
}


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

@media (max-width: 700px) {

    .about {
        padding: 80px 20px;
    }

    .about-inner {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    /* IMAGE */

    .about-image img {
        height: 390px;

        border-radius: 22px;
    }


    .about-image-badge {
        top: 18px;
        left: 18px;

        padding: 10px 13px;
    }


    .about-image-badge .badge-icon {
        width: 30px;
        height: 30px;

        font-size: 13px;
    }


    .about-image-badge strong {
        font-size: 12px;
    }


    .about-image-badge span:last-child {
        font-size: 10px;
    }


    /* EXPERIENCE */

    .about-year-badge {
        right: 15px;
        bottom: 18px;

        padding: 14px 16px;
    }


    .about-year-badge strong {
        font-size: 25px;
    }


    /* CONTENT */

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


    .about-content h2 {
        font-size: 40px;

        line-height: 1.05;

        letter-spacing: -2px;
    }


    .about-text {
        font-size: 15px;

        line-height: 1.7;
    }


    /* FEATURES */

    .about-features {
        grid-template-columns: 1fr;

        gap: 12px;

        margin: 28px 0;
    }


    .about-feature {
        padding: 16px;
    }


    /* BUTTON */

    .about-btn {
        padding: 14px 20px;
    }
}


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

@media (max-width: 420px) {

    .about {
        padding: 65px 16px;
    }


    .about-image img {
        height: 320px;
    }


    .about-content h2 {
        font-size: 34px;
    }


    .about-text {
        font-size: 14px;
    }


    .about-image-badge {
        top: 12px;
        left: 12px;
    }


    .about-year-badge {
        right: 10px;
        bottom: 12px;
    }
}

/* ============ FEATURED PROJECTS — scroll-driven horizontal pan ============ */
.work { padding: 40px 0 40px; }

.work-pin-wrap { position: relative; }
.work-sticky {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.work-sticky .section-head { margin-bottom: 40px; }

.project-track {
  display: flex; gap: 24px;
  width: max-content;
  padding: 0 28px;
  will-change: transform;
}

.project-card {
  width: 380px; flex-shrink: 0;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #fff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover { border-color: var(--teal); box-shadow: var(--shadow); }
.project-img { aspect-ratio: 4/2; overflow: hidden; }

.project-img img { aspect-ratio: 2/1 ; object-fit: cover; pointer-events: none; }
.project-info { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; }
.project-info h3 { font-size: 1.05rem; color: var(--navy); }
.project-info p { color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.project-link { color: var(--teal-dark); font-size: 1.1rem; }



/* ============ STATS ============ */
.stats-section {
  width: 100%;
  background: #e7f8f7;
  padding: 70px 8%;
}

.stats-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.stat-card { text-align: center; }

.stat-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffffff;
  color: #08b8c8;
  font-size: 24px;
  font-weight: bold;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.stat-number {
  overflow: hidden;
  height: 70px;
  font-size: 52px;
  font-weight: 700;
  color: #151b20;
  line-height: 70px;
}

.number {
  display: inline-block;
  opacity: 0;
  transform: translateY(70px);
}

.number.show { animation: slideUp 0.8s ease forwards; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(70px); }
  to { opacity: 1; transform: translateY(0); }
}

.stat-title {
  margin-top: 12px;
  font-size: 18px;
  color: #73777c;
}

@media (max-width: 900px) {
  .stats-container { grid-template-columns: repeat(2, 1fr); gap: 50px 30px; }
}

@media (max-width: 550px) {
  .stats-section { padding: 55px 20px; }
  .stats-container { grid-template-columns: 1fr; gap: 45px; }
  .stat-number { font-size: 44px; height: 60px; line-height: 60px; }
  .stat-title { font-size: 16px; }
}

/* ================= TESTIMONIALS ================= */
.testimonials {
  padding: 100px 28px 95px;
  background: linear-gradient(180deg, #fafbfc 0%, #f2f6f6 100%);
  overflow: hidden;
}

.testimonial-window { overflow: hidden; }

.testimonial-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: testimonial 28s linear infinite;
}

.testimonial-track:hover { animation-play-state: paused; }

.testimonial {
  width: 300px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  flex: 0 0 auto;
}

.avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #e8edf0;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 13px;
}

.testimonial strong { display: block; font-size: 13px; }
.testimonial small { color: #89929a; font-size: 10px; }
.testimonial p { font-size: 12px; margin-bottom: 0; }

@keyframes testimonial { to { transform: translateX(-50%); } }

/* ============ NEWSLETTER (unused, kept for reference) ============ */
.newsletter { padding: 0 28px 100px; }
.newsletter-inner {
  max-width: var(--container); margin: 0 auto;
  background: var(--navy); border-radius: 28px; padding: 48px 50px;
  display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap;
  color: #fff;
}
.newsletter-text { display: flex; align-items: center; gap: 18px; max-width: 460px; }
.mail-icon { width: 46px; height: 46px; flex-shrink: 0; background: var(--teal); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.newsletter-text h3 { font-size: 1.2rem; margin-bottom: 6px; }
.newsletter-text p { color: #9aa2b1; font-size: 0.88rem; }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { padding: 13px 18px; border-radius: 30px; border: none; width: 240px; font-size: 0.9rem; }
.newsletter-form button { background: var(--teal); color: #fff; padding: 13px 22px; border-radius: 30px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; transition: background 0.25s ease; }
.newsletter-form button:hover { background: var(--teal-dark); }
.newsletter-form.submitted input,
.newsletter-form.submitted button { opacity: 0.6; pointer-events: none; }

/* ============ FOOTER ============ */
.footer { background: var(--navy); color: #cfd3dc; padding: 20px 28px 30px; }
.footer-inner { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 40px; border-bottom: 1px solid #262c3d; }
.footer-brand p { margin: 14px 0 18px; font-size: 0.9rem; color: #9aa2b1; max-width: 280px; }
.footer-logo span { color: #fff; }
.footer-logo em { color: var(--teal); }
.social-icons { display: flex; gap: 12px; }
.social-icons a { width: 34px; height: 34px; border: 1px solid #2b3145; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; transition: border-color 0.2s ease, color 0.2s ease; }
.social-icons a:hover { border-color: var(--teal); color: var(--teal); }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; }
.footer-col a, .footer-col p { display: block; font-size: 0.88rem; margin-bottom: 10px; color: #9aa2b1; }
.footer-col a:hover { color: #fff; }
.footer-bottom { max-width: var(--container); margin: 0 auto; padding-top: 22px; font-size: 0.82rem; color: #6b7180; }

/* ============ SERVICES PAGE ============ */
.services-hero { padding: 70px 28px 20px; }
.services-hero-inner { max-width: 740px; margin: 0 auto; text-align: center; }
.services-hero h1 { font-size: 2.7rem; line-height: 1.15; margin: 10px 0 18px; color: var(--navy); }
.services-hero .hero-sub { max-width: 640px; margin: 0 auto; }

/* --- infinite horizontal marquee, slow --- */
.services-marquee {
  overflow: hidden; padding: 26px 0 62px; margin-top: 40px;
  background: #fff;
  mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
}
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marqueeSlide 34s linear infinite; }
.services-marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeSlide { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.marquee-card {
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  min-height: 64px;
  background: rgba(255,255,255,.96); border: 1px solid #dfe5e8; border-radius: 999px;
  padding: 15px 24px; font-weight: 500; font-size: 0.95rem; color: var(--navy);
  letter-spacing: -.01em;
  box-shadow: 0 8px 24px rgba(13,17,23,.06);
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.marquee-card:hover {
  border-color: rgba(20,184,166,.65);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(13,17,23,.09);
}
.marquee-icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--teal-dark);
}
.marquee-icon svg { width: 17px; height: 17px; }
.marquee-icon svg,
.service-icon svg {
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}
.service-icon svg { width: 23px; height: 23px; }

/* ============ PAIN POINTS BANNER (dark, sunburst rays, dual marquee) ============ */
.pain-points {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 100px 28px 70px;
  text-align: center;
}
.pain-points::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: repeating-conic-gradient(from 0deg, rgba(255,255,255,.06) 0deg .6deg, transparent .6deg 6deg);
  mask-image: radial-gradient(circle at center, black 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(circle at center, black 0%, transparent 65%);
  pointer-events: none;
}
.pain-points-inner { position: relative; z-index: 1; max-width: 780px; margin: 0 auto 50px; }
.pain-eyebrow { color: var(--teal); }
.pain-points h2 { color: #fff; font-size: 2.3rem; line-height: 1.3; }
.pain-points h2 em { font-style: italic; color: var(--teal); font-family: Georgia, serif; }

.pain-marquee {
  position: relative; z-index: 1;
  overflow: hidden;
  margin-bottom: 16px;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.pain-track { display: flex; gap: 14px; width: max-content; }
.pain-track.dir-left { animation: painScroll 30s linear infinite; }
.pain-track.dir-right { animation: painScroll 30s linear infinite reverse; }
.pain-marquee:hover .pain-track { animation-play-state: paused; }

@keyframes painScroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 7px)); }
}

.pain-pill {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  background: #fff; border-radius: 999px; padding: 13px 22px;
  font-size: .9rem; font-weight: 500; color: var(--navy);
  flex-shrink: 0;
}
.pain-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex-shrink: 0; }

@media (prefers-reduced-motion: reduce) {
  .pain-track { animation: none !important; }
}


.service-detail-section { padding: 76px 0 55px; }
.service-detail-section .section-head { margin-bottom: 38px; }

.services-simple-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.s-card {
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.s-card:hover {
  border-color: var(--teal);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.s-card-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-tint);
  border-radius: 14px;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.s-card .service-tag {
  display: block;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .72rem;
  color: var(--teal-dark);
  margin-bottom: 6px;
}
.s-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.s-card p { color: var(--muted); font-size: .88rem; line-height: 1.55; margin-bottom: 16px; }
.s-card-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.s-card-tags span {
  font-size: .74rem;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--teal-tint);
  color: var(--teal-dark);
  font-weight: 500;
}

/* ============ PROCESS SECTION (dark navy — contrast break) ============ */
.process-section { padding: 90px 28px; background: var(--navy); }
.process-section .eyebrow { color: var(--teal); }
.process-section .section-head h2 { color: #fff; }
.process-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.process-step {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: border-color .3s ease, transform .3s ease, background .3s ease;
}
.process-step:hover {
  border-color: rgba(20,184,166,.55);
  background: rgba(255,255,255,.06);
  transform: translateY(-4px);
}
.process-num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.6rem; color: var(--teal); margin-bottom: 12px; }
.process-step h3 { font-size: 1.02rem; color: #fff; margin-bottom: 8px; }
.process-step p { color: #9aa2b1; font-size: .85rem; }

/* ============ WHY US (new light section) ============ */
.why-us { padding: 90px 28px; background: #fff; }
.why-us-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px;
}
.why-card { text-align: center; padding: 6px; }
.why-icon {
  width: 56px; height: 56px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--teal-tint); border-radius: 50%; font-size: 1.4rem;
}
.why-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 8px; }
.why-card p { color: var(--muted); font-size: .88rem; max-width: 280px; margin: 0 auto; }

/* ============ SCROLL REVEAL (cards slide up into view) ============ */
.reveal { opacity: 0; transform: translateY(45px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* --- closing CTA (services page) --- */
.services-cta { padding: 20px 28px 100px; }
.services-cta-inner {
  max-width: 720px; margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, #0f2e2b 100%);
  border-radius: 28px; padding: 60px 40px; color: #fff;
  position: relative; overflow: hidden;
}
.services-cta-inner::after {
  content: "";
  position: absolute;
  width: 320px; height: 320px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 50%;
  right: -90px; top: -170px;
}
.services-cta-inner h2 { position: relative; z-index: 1; font-size: 1.8rem; margin-bottom: 12px; }
.services-cta-inner p { position: relative; z-index: 1; color: #c4cbd0; margin-bottom: 26px; }
.services-cta-inner .btn-primary { position: relative; z-index: 1; }

/* ================= CTA (home page) ================= */
.cta { padding: 100px 28px; }

.cta-box {
  background: var(--navy);
  color: #fff;
  border-radius: 14px;
  padding: 48px 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-box:after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border: 1px solid #ffffff22;
  border-radius: 50%;
  right: 50px;
  top: -220px;
}

.cta-box h2 { position: relative; z-index: 1; }

.cta-box p {
  color: #c4cbd0;
  max-width: 430px;
  font-size: 12px;
}

.cta-box .eyebrow { color: #c9d0d5; }

/* .cta-box .btn { position: relative; z-index: 2; } */

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 340px; order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
 
  .services-simple-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .why-us-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; padding: 10px 28px 20px; border-bottom: 1px solid var(--line);
  }
  #menu-toggle:checked ~ header .nav-links { display: flex; }
  .nav-links a { display: block; padding: 12px 0; }
  .hamburger { display: flex; }
  .btn-primary.nav-right-btn { display: none; }

  .hero-text h1 { font-size: 2.2rem; }
  .hero-visual { grid-template-columns: repeat(2, 1fr); height: 300px; }
  .services-grid { grid-template-columns: 1fr; }
  /* .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; } */
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; width: auto; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }

  .work-pin-wrap { height: auto !important; }
  .work-sticky { position: static; height: auto; }
  .project-track {
    transform: none !important;
    overflow-x: auto; padding: 0 20px 12px;
    scrollbar-width: none;
  }
  .project-track::-webkit-scrollbar { display: none; }
  .project-card { width: 78vw; }

  .services-hero h1 { font-size: 2rem; }
  .pain-points { padding: 70px 20px 50px; }
  .pain-points h2 { font-size: 1.7rem; }
  .pain-pill { padding: 11px 18px; font-size: .82rem; }
  .services-marquee { padding-bottom: 44px; }
  .marquee-card { min-height: 58px; padding: 13px 19px; font-size: .86rem; }
  .service-detail-section { padding-top: 58px; }
  .services-simple-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; gap: 34px; }
  .services-cta-inner { padding: 40px 24px; }
  .cta-box { padding: 36px 26px; }
}

/* Subtle reveal for major cards on hover-in (not scroll reveal) */
.testimonial-card, .project-card, .service-card {
  animation: cardReveal .7s both;
}
@keyframes cardReveal {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
  .testimonial-track { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .testimonial-card, .project-card, .service-card { animation: none !important; }
}



    /* Updated to use Arial, sans-serif */
    .cs-wrap {
      font-family: 'Arial', sans-serif;
      background:#ffffff;
      padding: 80px 24px 96px;
      position: relative;
      box-sizing: border-box;
    }

    .cs-wrap * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    /* Header */
    .cs-header {
      max-width: 1120px;
      margin: 0 auto 56px;
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 40px;
      position: relative;
    }

    .cs-header-left {
      max-width: 600px;
    }

    .cs-header h2 {
      font-size: clamp(32px, 5vw, 52px);
      font-weight: 800;
      color: var(--navy);
      line-height: 1.2;
      letter-spacing: -0.02em;
      margin: 0;
    }

    .cs-header h2 em {
      font-style: normal;
      color: #0280ba;
    }

    .cs-header-right {
      flex-shrink: 0;
    }

    .cs-header p {
      font-size: 15px;
      color: white;
      line-height: 1.75;
      font-weight: 300;
      max-width: 320px;
      text-align: right;
      padding: 14px 16px 14px 20px;
      background: var(--navy-soft);
      border-radius: 8px;
      border-left: 2px solid #e2e8f0;
    }

    /* Grid */
    .cs-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      max-width: 1120px;
      margin: 0 auto;
    }

    /* Card */
    .cs-card {
      position: relative;
      border-radius: 14px;
      overflow: hidden;
      aspect-ratio: 4/3;
      cursor: pointer;
      text-decoration: none;
      display: block;
      background: #e2e8f0;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 0 0 1px rgba(0,0,0,0.04);
      transition: box-shadow 0.35s ease, transform 0.35s ease;
    }

    .cs-card:hover {
      box-shadow: 0 20px 50px rgba(15,23,42,0.14), 0 0 0 1px rgba(26,86,219,0.15);
      transform: translateY(-5px);
    }

    /* Bg image */
    .cs-bg {
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .cs-card:hover .cs-bg {
      transform: scale(1.07);
    }

    /* Gradient overlay */
    .cs-grad {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        160deg,
        rgba(255,255,255,0.08) 0%,
        rgba(15,23,42,0.45) 55%,
        rgba(15,23,42,0.88) 100%
      );
      transition: opacity 0.35s ease;
    }

    .cs-card:hover .cs-grad {
      opacity: 0.6;
    }

    /* Category pill */
    .cs-pill {
      position: absolute;
      top: 16px;
      left: 16px;
      z-index: 3;
      background: rgba(255,255,255,0.92);
      color: #0f172a;
      font-size: 10.5px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 4px 12px;
      border-radius: 20px;
      backdrop-filter: blur(6px);
      border: 1px solid rgba(0,0,0,0.08);
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }

    /* Arrow icon top right */
    .cs-arrow {
      position: absolute;
      top: 16px;
      right: 16px;
      z-index: 3;
      width: 32px;
      height: 32px;
      background: rgba(255,255,255,0.92);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(0,0,0,0.08);
      box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      transition: background 0.3s ease, transform 0.3s ease;
    }

    .cs-card:hover .cs-arrow {
      background: #1a56db;
      transform: rotate(45deg);
    }

    .cs-arrow svg {
      width: 13px;
      height: 13px;
      stroke: #0f172a;
      fill: none;
      stroke-width: 2.5;
      transition: stroke 0.3s ease;
    }

    .cs-card:hover .cs-arrow svg {
      stroke: #ffffff;
    }

    /* Static title at bottom */
    .cs-title-block {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 20px 20px 22px;
      z-index: 3;
      transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                  opacity 0.35s ease;
    }

    .cs-card:hover .cs-title-block {
      transform: translateY(-80%);
      opacity: 0;
      pointer-events: none;
    }

    .cs-title-block h3 {
      font-size: clamp(14px, 1.6vw, 18px);
      font-weight: 700;
      color: #ffffff;
      line-height: 1.3;
      letter-spacing: -0.3px;
    }

    .cs-title-block .cs-sub {
      display: block;
      margin-top: 5px;
      font-size: 11px;
      font-weight: 500;
      color: rgba(255,255,255,0.6);
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }

    /* Hover description panel */
    .cs-reveal {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 5;
      padding: 22px 20px 20px;
      background: #ffffff;
      border-top: 3px solid #1a56db;
      transform: translateY(100%);
      transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    }

    .cs-card:hover .cs-reveal {
      transform: translateY(0%);
    }

    .cs-reveal h3 {
      font-size: clamp(13px, 1.4vw, 16px);
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 7px;
      line-height: 1.3;
    }

    .cs-reveal p {
      font-size: 12.5px;
      color: #64748b;
      line-height: 1.65;
      font-weight: 300;
      margin-bottom: 14px;
    }

    .cs-cta {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 11.5px;
      font-weight: 600;
      color: #1a56db;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      text-decoration: none;
      border-bottom: 1.5px solid #c7d7fb;
      padding-bottom: 2px;
      transition: border-color 0.2s ease, gap 0.2s ease;
    }

    .cs-cta:hover {
      border-color: #1a56db;
      gap: 10px;
    }

    .cs-cta svg {
      width: 12px;
      height: 12px;
      stroke: #1a56db;
      fill: none;
      stroke-width: 2.5;
    }

    /* ========= LAPTOP (1025px – 1366px) ========= */
    @media (min-width: 1025px) and (max-width: 1366px) {
      .cs-wrap {
        padding: 48px 24px 60px;
      }
      .cs-header {
        max-width: 900px;
        margin-bottom: 36px;
      }
      .cs-grid {
        max-width: 900px;
        gap: 14px;
      }
    }

    /* ========= LARGE LAPTOP (1367px – 1440px) ========= */
    @media (min-width: 1367px) and (max-width: 1440px) {
      .cs-wrap {
        padding: 60px 24px 72px;
      }
      .cs-header {
        max-width: 1000px;
        margin-bottom: 44px;
      }
      .cs-grid {
        max-width: 1000px;
        gap: 16px;
      }
    }

    /* Responsive */
    @media (max-width: 900px) {
      .cs-header {
        flex-direction: column;
        align-items: flex-start;
      }
      .cs-header p {
        text-align: left;
        max-width: 100%;
      }
      .cs-grid {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 520px) {
      .cs-wrap {
        padding: 48px 16px 80px;
        overflow: visible;
      }
      .cs-header h2 {
        font-size: 28px;
      }
      .cs-grid {
        grid-template-columns: 1fr;
        margin-bottom: 24px;
      }
    }
  /* =====================================================
   DIGITAL TOOLKIT
===================================================== */

.toolkit-section {
    position: relative;
    overflow: hidden;
    padding: 130px 6%;
    background: #f4f4f1;
}

.toolkit-header {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.toolkit-header .eyebrow {
    margin-bottom: 15px;
}

.toolkit-header h2 {
    font-size: clamp(42px, 6vw, 82px);
    line-height: 0.95;
    letter-spacing: -4px;
    margin: 0;
    color: #111318;
}

.toolkit-header h2 span {
    color: #73777c;
}

.toolkit-header > p:last-child {
    max-width: 550px;
    margin: 25px auto 0;
    color: #73777c;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================
   STAGE
========================= */

.toolkit-stage {
    position: relative;
    max-width: 1100px;
    height: 620px;
    margin: auto;
}


/* =========================
   CENTER CORE
========================= */

.toolkit-center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 300px;
    height: 300px;
    transform: translate(-50%, -50%);
}

.toolkit-core {
    position: absolute;
    inset: 65px;
    border-radius: 50%;

    background: #111318;
    color: white;

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

    box-shadow:
        0 0 0 1px rgba(17, 19, 24, 0.08),
        0 20px 60px rgba(17, 19, 24, 0.18);

    animation: corePulse 3s ease-in-out infinite;
}

.toolkit-core span {
    font-size: 10px;
    letter-spacing: 4px;
    opacity: 0.6;
}

.toolkit-core strong {
    font-size: 55px;
    line-height: 1;
    margin: 8px 0;
    font-weight: 600;
}

.toolkit-core small {
    font-size: 8px;
    letter-spacing: 2px;
    opacity: 0.55;
}


/* =========================
   ORBITS
========================= */

.toolkit-orbit {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(17, 19, 24, 0.12);
    border-radius: 50%;
}

.orbit-one {
    animation: rotateOrbit 18s linear infinite;
}

.orbit-two {
    inset: 25px;
    border-style: dashed;
    animation: rotateOrbitReverse 24s linear infinite;
}


/* =========================
   TOOL CARDS
========================= */

.tool-card {
    position: absolute;

    width: 190px;
    min-height: 145px;

    padding: 22px;

    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(17, 19, 24, 0.09);

    border-radius: 20px;

    backdrop-filter: blur(12px);

    box-shadow: 0 15px 40px rgba(17, 19, 24, 0.07);

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

    animation: floatingCard 4s ease-in-out infinite;
}

.tool-card:hover {
    transform: translateY(-10px) scale(1.03);
    background: #ffffff;
    box-shadow: 0 25px 55px rgba(17, 19, 24, 0.14);
    z-index: 10;
}


/* CARD POSITIONS */

.tool-html {
    left: 3%;
    top: 7%;
    animation-delay: 0s;
}

.tool-css {
    right: 3%;
    top: 7%;
    animation-delay: 0.7s;
}

.tool-js {
    left: 0;
    bottom: 8%;
    animation-delay: 1.2s;
}

.tool-responsive {
    right: 0;
    bottom: 8%;
    animation-delay: 1.8s;
}

.tool-github {
    left: 25%;
    bottom: 0;
    animation-delay: 2.2s;
}

.tool-ui {
    right: 25%;
    bottom: 0;
    animation-delay: 2.8s;
}


/* CARD CONTENT */

.tool-number {
    display: block;
    font-size: 10px;
    color: #73777c;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.tool-icon {
    width: 38px;
    height: 38px;

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

    border-radius: 10px;

    background: #e7e5ff;
    color: #111318;

    font-size: 15px;
    font-weight: 700;

    margin-bottom: 15px;
}

.tool-card h3 {
    margin: 0 0 7px;
    font-size: 18px;
    color: #111318;
}

.tool-card p {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #73777c;
}


/* =========================
   ANIMATIONS
========================= */

@keyframes floatingCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


@keyframes corePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 0 0 1px rgba(17, 19, 24, 0.08),
            0 20px 60px rgba(17, 19, 24, 0.18);
    }

    50% {
        transform: scale(1.04);
        box-shadow:
            0 0 0 12px rgba(168, 164, 255, 0.08),
            0 25px 70px rgba(17, 19, 24, 0.22);
    }
}


@keyframes rotateOrbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes rotateOrbitReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}


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

@media (max-width: 900px) {

    .toolkit-section {
        padding: 100px 5%;
    }

    .toolkit-header {
        margin-bottom: 50px;
    }

    .toolkit-stage {
        height: 700px;
    }

    .tool-card {
        width: 165px;
    }

    .tool-html {
        left: 0;
    }

    .tool-css {
        right: 0;
    }

    .tool-js {
        left: 0;
    }

    .tool-responsive {
        right: 0;
    }

    .tool-github {
        left: 18%;
    }

    .tool-ui {
        right: 18%;
    }
}


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

@media (max-width: 600px) {

    .toolkit-section {
        padding: 80px 20px;
    }

    .toolkit-header {
        margin-bottom: 45px;
    }

    .toolkit-header h2 {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .toolkit-header > p:last-child {
        font-size: 14px;
    }

    .toolkit-stage {
        height: auto;

        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .toolkit-center {
        position: relative;
        left: auto;
        top: auto;

        transform: none;

        width: 180px;
        height: 180px;

        grid-column: 1 / -1;
        margin: 0 auto 15px;
    }

    .toolkit-core {
        inset: 35px;
    }

    .toolkit-core strong {
        font-size: 38px;
    }

    .toolkit-core small {
        font-size: 6px;
    }

    .toolkit-card,
    .tool-card {
        position: relative;

        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;

        width: auto;
        min-height: 145px;
    }

    .toolkit-orbit {
        inset: 0;
    }

    .orbit-two {
        inset: 15px;
    }
}

.nav-right .btn-primary { display: none; }

@media (max-width: 380px) {
  .services-hero h1 { font-size: 1.7rem; letter-spacing: -1px; }
  .cs-header h2 { letter-spacing: -0.01em; }
  .toolkit-header h2 { letter-spacing: -1px; }
  nav { padding: 14px 18px; gap: 10px; }
}

/* ============ ABOUT PAGE EXTRAS ============ */
.mission-vision-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .mission-vision-grid { grid-template-columns: 1fr; } }

.team-section { padding: 90px 28px; background: #fff; }
.team-grid {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.team-card {
  text-align: center; padding: 28px 20px;
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.team-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
  width: 72px; height: 72px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--teal-tint); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.1rem;
}
.team-card h3 { font-size: 1.02rem; color: var(--navy); margin-bottom: 4px; }
.team-role { color: var(--teal-dark); font-size: .82rem; font-weight: 500; margin-bottom: 10px; }
.team-card p { color: var(--muted); font-size: .85rem; }


.team-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 18px;

    border-radius: 50%;
    overflow: hidden;
    background: var(--teal-tint);

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

.team-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

    

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

.ind-section{padding:90px 20px}
.ind-grid{max-width:1100px;margin:auto;display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.ind-card{padding:36px 28px;border-radius:var(--radius);background:#fff;border:1px solid var(--line);box-shadow:0 10px 30px rgba(13,17,23,.06);transition:transform .35s,border-color .35s}
.ind-card:hover{transform:translateY(-8px);border-color:var(--teal)}
.ind-card::after{content:"";position:absolute;left:0;bottom:0;height:3px;width:100%;background:linear-gradient(90deg,var(--teal),var(--teal-dark));transform:scaleX(0);transform-origin:left;transition:transform .5s cubic-bezier(.2,.8,.2,1)}
.ind-card:hover::after{transform:scaleX(1)}
.ind-icon{width:56px;height:56px;border-radius:16px;background:var(--teal-tint);display:grid;place-items:center;font-size:1.6rem;margin-bottom:18px;transition:transform .5s cubic-bezier(.3,1.6,.5,1)}
.ind-card:hover .ind-icon{transform:rotate(-8deg) scale(1.15)}
.ind-card h3{font-family:'Poppins',sans-serif;color:var(--navy);margin:0 0 8px}
.ind-card p{color:var(--muted);line-height:1.65;margin:0}
@media(max-width:1000px){.ind-section{padding:70px 20px}.ind-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.ind-grid{grid-template-columns:1fr}}

.cmp-section{padding:90px 20px;background:#f8fafb}
.cmp-wrap{max-width:900px;margin:auto;border-radius:var(--radius);overflow:hidden;background:#fff;border:1px solid var(--line);box-shadow:0 10px 30px rgba(13,17,23,.06)}
.cmp-head,.cmp-row{display:grid;grid-template-columns:1fr 1.2fr 1.4fr;gap:16px;align-items:center;padding:18px 26px}
.cmp-head{background:var(--navy);color:#fff;font-family:'Poppins',sans-serif;font-size:.9rem}
.cmp-us{color:var(--teal)}
.cmp-row{border-top:1px solid var(--line);transition:background .3s}
.cmp-row:hover{background:var(--teal-tint)}
.cmp-row span{font:600 .9rem 'Poppins',sans-serif;color:var(--navy)}
.cmp-row em{font-style:normal;font-size:.95rem;display:flex;gap:10px;align-items:flex-start;line-height:1.45}
.cmp-row em::before{flex:none;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;font-size:.75rem;font-weight:700;transition:transform .5s cubic-bezier(.3,1.6,.5,1)}
.cmp-row .no{color:var(--muted)}
.cmp-row .no::before{content:"\2715";background:#f1f2f5;color:#98a2b3}
.cmp-row .yes{color:var(--navy);font-weight:500}
.cmp-row .yes::before{content:"\2713";background:var(--teal);color:#fff;transform:scale(0)}
.cmp-row.in .yes::before{transform:scale(1);transition-delay:.35s}
@media(max-width:1000px){.cmp-section{padding:70px 20px}}
@media(max-width:720px){
  .cmp-head{display:none}
  .cmp-row{grid-template-columns:1fr;gap:8px;padding:18px 20px}
  .cmp-row span{color:var(--teal-dark);font-size:.75rem;text-transform:uppercase;letter-spacing:.06em}
}

.faq-section{padding:90px 20px}
.faq-list{max-width:780px;margin:auto;display:grid;gap:14px}
.faq-item{border:1px solid var(--line);border-radius:var(--radius);background:#fff;overflow:hidden;transition:border-color .3s,box-shadow .3s}
.faq-item.open{border-color:var(--teal);box-shadow:0 14px 34px rgba(20,184,166,.15)}
.faq-q{all:unset;box-sizing:border-box;width:100%;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 26px;font:600 1rem 'Poppins',sans-serif;color:var(--navy)}
.faq-q:focus-visible{outline:2px solid var(--teal);outline-offset:-4px;border-radius:var(--radius)}
.faq-q i{flex:none;position:relative;width:28px;height:28px;border-radius:50%;background:var(--teal-tint);transition:transform .4s,background .3s}
.faq-q i::before,.faq-q i::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;background:var(--teal-dark);transform:translate(-50%,-50%);transition:transform .4s}
.faq-q i::after{transform:translate(-50%,-50%) rotate(90deg)}
.faq-item.open .faq-q i{background:var(--teal);transform:rotate(180deg)}
.faq-item.open .faq-q i::before,.faq-item.open .faq-q i::after{background:#fff}
.faq-item.open .faq-q i::after{transform:translate(-50%,-50%) rotate(0)}
.faq-a{display:grid;grid-template-rows:0fr;transition:grid-template-rows .45s cubic-bezier(.2,.8,.2,1)}
.faq-a>p{overflow:hidden;margin:0;padding:0 26px;color:var(--muted);line-height:1.7;opacity:0;transition:opacity .4s,padding .45s}
.faq-item.open .faq-a{grid-template-rows:1fr}
.faq-item.open .faq-a>p{opacity:1;padding:0 26px 24px}
@media(max-width:1000px){.faq-section{padding:70px 20px}}
@media(max-width:720px){
  .faq-q{padding:18px 20px;font-size:.95rem}
  .faq-a>p,.faq-item.open .faq-a>p{padding-left:20px;padding-right:20px}
}

.mf-section{background:var(--navy);padding:120px 20px;position:relative;overflow:hidden}
.mf-section::before{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:var(--teal);filter:blur(120px);opacity:.14;top:-120px;left:-100px}
.mf-inner{max-width:900px;margin:auto;text-align:center;position:relative}
.mf-text{font:600 clamp(1.6rem,4.2vw,3rem)/1.3 'Poppins',sans-serif;margin:20px 0 0}
.mfw{color:rgba(255,255,255,.18);transition:color .35s,text-shadow .35s}
.mfw.on{color:#fff}
.mfw.on:last-child{color:var(--teal)}
@media(max-width:720px){.mf-section{padding:80px 20px}}

.ovt-section{padding:90px 20px;text-align:center}
.ovt-stage{max-width:420px;margin:0 auto;display:grid;grid-template-columns:repeat(5,1fr);gap:22px;place-items:center;padding:36px 24px;cursor:pointer;border-radius:var(--radius);background:#f8fafb;border:1px solid var(--line)}
.ovt-stage i{width:32px;height:32px;border-radius:50%;background:var(--navy);display:block;transition:transform .8s cubic-bezier(.2,.8,.2,1),opacity .8s,background .6s,box-shadow .6s}
.ovt-stage.in i{transform:scale(.35);opacity:.2}
.ovt-stage.in i.hero{transform:scale(1.7);opacity:1;background:var(--teal);box-shadow:0 0 0 10px rgba(20,184,166,.18),0 0 40px rgba(20,184,166,.6);animation:pulse 2.2s ease-in-out infinite .9s}
.ovt-stage.in i:nth-child(1){transition-delay:.05s}.ovt-stage.in i:nth-child(2){transition-delay:.12s}.ovt-stage.in i:nth-child(3){transition-delay:.19s}.ovt-stage.in i:nth-child(4){transition-delay:.26s}.ovt-stage.in i:nth-child(6){transition-delay:.33s}.ovt-stage.in i:nth-child(7){transition-delay:.4s}.ovt-stage.in i:nth-child(8){transition-delay:.47s}.ovt-stage.in i:nth-child(9){transition-delay:.54s}.ovt-stage.in i:nth-child(10){transition-delay:.61s}
@keyframes pulse{50%{box-shadow:0 0 0 18px rgba(20,184,166,.08),0 0 60px rgba(20,184,166,.75)}}
.ovt-note{color:var(--muted);font-size:.85rem;margin-top:14px}
@media(max-width:1000px){.ovt-section{padding:70px 20px}}
@media(max-width:720px){.ovt-stage{gap:14px;padding:26px 14px}.ovt-stage i{width:24px;height:24px}}

.nx-section{padding:90px 20px;background:#f8fafb}
.nx-wrap{max-width:720px;margin:auto;position:relative;display:grid;gap:34px}
.nx-line{position:absolute;left:27px;top:20px;bottom:20px;width:3px;background:var(--line);border-radius:3px}
.nx-line span{display:block;width:100%;height:0;background:linear-gradient(var(--teal),var(--teal-dark));border-radius:3px;box-shadow:0 0 14px rgba(20,184,166,.6)}
.nx-step{display:flex;gap:22px;align-items:flex-start;position:relative}
.nx-step b{flex:none;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#fff;border:3px solid var(--line);color:var(--muted);font:700 1.1rem 'Poppins',sans-serif;transition:all .5s cubic-bezier(.3,1.6,.5,1)}
.nx-step.on b{background:var(--teal);border-color:var(--teal);color:#fff;transform:scale(1.12);box-shadow:0 0 0 8px rgba(20,184,166,.15)}
.nx-step h3{font-family:'Poppins',sans-serif;color:var(--navy);margin:8px 0 6px}
.nx-step p{color:var(--muted);line-height:1.65;margin:0}
@media(max-width:1000px){.nx-section{padding:70px 20px}}
@media(max-width:720px){.nx-step{gap:16px}.nx-step b{width:48px;height:48px}.nx-line{left:23px}}


.fit-section{padding:90px 20px;background:#f8fafb}
.fit-card{max-width:760px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 30px rgba(13,17,23,.06);overflow:hidden}
.fit-progress{height:5px;background:var(--line)}
.fit-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--teal),var(--teal-dark));transition:width .5s cubic-bezier(.2,.8,.2,1)}
.fit-body{padding:40px 32px;min-height:320px;animation:fitIn .5s cubic-bezier(.2,.8,.2,1)}
@keyframes fitIn{from{opacity:0;transform:translateX(24px)}to{opacity:1;transform:none}}
.fit-step{font:600 .8rem 'Poppins',sans-serif;color:var(--teal-dark);text-transform:uppercase;letter-spacing:.06em}
.fit-q{font:600 1.4rem/1.3 'Poppins',sans-serif;color:var(--navy);margin:10px 0 24px}
.fit-opts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.fit-opt{all:unset;box-sizing:border-box;cursor:pointer;padding:22px 16px;text-align:center;border:1.5px solid var(--line);border-radius:16px;font:500 .95rem 'Inter',sans-serif;color:var(--navy);transition:transform .3s,border-color .3s,background .3s,box-shadow .3s}
.fit-opt:hover,.fit-opt:focus-visible{transform:translateY(-4px);border-color:var(--teal);background:var(--teal-tint);box-shadow:0 12px 26px rgba(20,184,166,.18)}
.fit-opt b{display:block;font-size:1.7rem;margin-bottom:8px}
.fit-res h3{font:700 1.6rem/1.25 'Poppins',sans-serif;color:var(--navy);margin:10px 0 12px}
.fit-res p{color:var(--muted);line-height:1.7;margin:0 0 12px}
.fit-tags{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 26px}
.fit-tags span{padding:6px 14px;border-radius:999px;background:var(--teal-tint);color:var(--teal-dark);font:600 .8rem 'Poppins',sans-serif}
.fit-actions{display:flex;flex-wrap:wrap;gap:14px;align-items:center}
.fit-redo{all:unset;cursor:pointer;color:var(--muted);font-weight:500;text-decoration:underline}
.fit-redo:hover{color:var(--teal-dark)}
@media(max-width:1000px){.fit-section{padding:70px 20px}}
@media(max-width:720px){.fit-opts{grid-template-columns:1fr}.fit-body{padding:28px 20px}.fit-q{font-size:1.2rem}.fit-opt{padding:16px}.fit-opt b{display:inline;margin:0 10px 0 0}}
@media(prefers-reduced-motion:reduce){.fit-body{animation:none}}

/* ===== Bot container ===== */
.bot{position:fixed;right:18px;bottom:18px;z-index:9999;display:flex;flex-direction:column;align-items:flex-end;pointer-events:none}

/* ===== Robot button ===== */
.bot-btn{all:unset;pointer-events:auto;cursor:pointer;width:96px;height:128px;display:block;-webkit-tap-highlight-color:transparent;filter:drop-shadow(0 6px 10px rgba(13,17,23,.14))}
.bot-btn:focus-visible{outline:2px solid var(--teal);outline-offset:4px;border-radius:20px}
.bot-btn svg{width:100%;height:100%;overflow:visible;transition:transform .3s cubic-bezier(.3,1.6,.5,1)}
.bot-btn:hover svg{transform:scale(1.08) rotate(-3deg)}

/* ===== Float + shadow ===== */
.bot-float{animation:botFloat 3.2s ease-in-out infinite}
.bot-shadow{transform-origin:60px 153.5px;animation:botShadow 3.2s ease-in-out infinite}
@keyframes botFloat{50%{transform:translateY(-8px)}}
@keyframes botShadow{50%{transform:scaleX(.8);opacity:.08}}




/* ===== Jump ===== */
.bot.jump .bot-btn svg{animation:botJump .6s cubic-bezier(.3,1.6,.5,1)}
@keyframes botJump{40%{transform:translateY(-22px) scale(1.06)}}

/* ===== Speech bubble (robot ke upar, jagah nahi gheerta) ===== */
.bot-bubble{position:absolute;right:6px;bottom:100%;margin-bottom:4px;width:max-content;pointer-events:none;max-width:230px;padding:12px 16px;background:#fff;border:1px solid var(--line);border-radius:18px 18px 4px 18px;box-shadow:0 14px 34px rgba(13,17,23,.14);font:500 .9rem/1.45 'Inter',sans-serif;color:var(--navy);opacity:0;transform:translateY(10px) scale(.92);transform-origin:bottom right;transition:opacity .35s,transform .45s cubic-bezier(.3,1.6,.5,1)}
.bot-bubble.show{opacity:1;transform:none}

/* ===== Chat box (chhota, navbar ke neeche rehta hai) ===== */
.chat{pointer-events:auto;width:300px;max-width:calc(100vw - 20px);height:360px;height:min(360px,calc(100dvh - 250px));min-height:220px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 20px 50px rgba(13,17,23,.18);display:flex;flex-direction:column;overflow:hidden;margin-bottom:8px;animation:chatIn .35s cubic-bezier(.2,.8,.2,1)}
.chat[hidden]{display:none}
@keyframes chatIn{from{opacity:0;transform:translateY(12px) scale(.96)}to{opacity:1;transform:none}}
.chat-head{background:var(--navy);color:#fff;padding:12px 14px;display:flex;justify-content:space-between;align-items:center;font:600 .9rem 'Poppins',sans-serif}
.chat-head button{all:unset;cursor:pointer;font-size:1.4rem;line-height:1;padding:0 4px}
.chat-body{flex:1;overflow-y:auto;padding:12px;display:flex;flex-direction:column;gap:10px;background:var(--teal-tint)}
.msg{max-width:85%;padding:9px 12px;border-radius:16px;font:500 .86rem/1.45 'Inter',sans-serif;white-space:pre-wrap;word-wrap:break-word}
.msg.bot{background:#fff;color:var(--navy);align-self:flex-start;border-bottom-left-radius:4px}
.msg.user{background:var(--teal);color:#fff;align-self:flex-end;border-bottom-right-radius:4px}
.chat-form{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line);background:#fff}
.chat-form input{flex:1;min-width:0;border:1px solid var(--line);border-radius:999px;padding:9px 14px;font:inherit;font-size:.88rem;outline:none}
.chat-form input:focus{border-color:var(--teal)}
.chat-form button{background:var(--teal);color:#fff;border:0;border-radius:999px;padding:0 16px;cursor:pointer;font-weight:600}
.chat-form button:disabled{opacity:.6;cursor:default}

/* ===== Mobile ===== */
@media(max-width:720px){
  .bot{right:10px;bottom:10px}
  .bot-btn{width:72px;height:96px}
  .bot-bubble{max-width:180px;font-size:.82rem;padding:10px 13px}
  .chat{width:min(300px,calc(100vw - 20px));height:340px;height:min(340px,calc(100dvh - 230px))}
}

/* ===== Reduced motion ===== */
@media(prefers-reduced-motion:reduce){
  .bot-float,.bot-shadow,.bot-eye,.pupil,.bot-ant,.bot-arm-l,.chat{animation:none}
}
.ind-card { position: relative; }




/* Floating Chatbot Robot */
.chatbot-robot {
  position: fixed;
  right: 14px;
  bottom: 24px;
  width: 180px;
  z-index: 999;
  cursor: pointer;
  animation: robotFloat 3s ease-in-out infinite;
}

.chatbot-robot img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@keyframes robotFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 480px) {
  .chatbot-robot {
    width: 82px;
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chatbot-robot {
    animation: none;
  }
}



/* ================================================================
   NEW SECTIONS CSS  ->  css/style.css ke bilkul END me paste karo
   Tumhare existing :root variables (--navy, --teal, ...) use hote hain.
   Sab animations sirf CSS se hain, JavaScript nahi.
================================================================ */


/* ---------- shared keyframes (ticker aur promises dono use karte hain) ---------- */
@keyframes ticker-move {
  from { transform: translateX(0); }       /* shuru: apni jagah */
  to   { transform: translateX(-50%); }    /* aakhir: aadha track left (yaani pehla group poora nikal gaya) */
}


/* ================= 1) TICKER ================= */
.ticker {
  background: var(--navy);        /* dark strip */
  color: #fff;                    /* safed text */
  overflow: hidden;               /* jo text bahar jaye woh chhup jaye */
  font-size: 0.85rem;             /* chhota text */
  padding: 10px 0;                /* upar neeche space */
}
.ticker-track {
  display: flex;                  /* dono groups ek line me */
  width: max-content;             /* track apne content jitna chaura */
  animation: ticker-move 35s linear infinite;  /* 35 sec, ek jaisi speed, hamesha */
}
.ticker-group {
  display: flex;                  /* messages ek line me */
  gap: 48px;                      /* messages ke beech faasla */
  padding-right: 48px;            /* groups ke beech bhi wohi faasla */
}
.ticker-group span {
  white-space: nowrap;            /* text kabhi dusri line me na jaye */
}
.ticker-group span::before {
  content: "✦";                   /* har message se pehle star */
  color: var(--teal);             /* teal color ka */
  margin-right: 10px;             /* star aur text ke beech jagah */
}
.ticker:hover .ticker-track {
  animation-play-state: paused;   /* mouse upar aaye to ruk jaye */
}


/* ================= 2) PROCESS (stacking cards) ================= */
.process {
  padding: 100px 24px;            /* section ke upar neeche aur side space */
}
.process-stack {
  max-width: 900px;               /* cards ki max chaurai */
  margin: 48px auto 0;            /* beech me, heading se 48px neeche */
}
.step {
  position: sticky;               /* scroll karte hue screen ke upar chipak jata hai */
  top: calc(96px + var(--i) * 18px);  /* har agla card thoda neeche chipakta hai = stack effect */
  display: grid;                  /* 3 hisse: number, text, mockup */
  grid-template-columns: auto 1fr 260px;  /* number apni size, text bachi jagah, mockup 260px */
  gap: 28px;                      /* hisson ke beech faasla */
  align-items: center;            /* sab upar neeche se beech me */
  background: #fff;               /* safed card */
  border: 1px solid var(--line);  /* halki border */
  border-radius: var(--radius);   /* gol kone */
  padding: 32px;                  /* andar ki jagah */
  margin-bottom: 28px;            /* agle card se faasla (scroll length bhi deta hai) */
  box-shadow: var(--shadow);      /* halka saya */
}
.step:nth-child(even) {
  background: var(--teal-tint);   /* har dusra card halka teal */
}
.step-num {
  font-family: "Poppins", sans-serif;  /* heading font */
  font-size: 2.6rem;              /* bada number */
  font-weight: 700;               /* mota */
  color: var(--teal);             /* teal */
  line-height: 1;                 /* extra upar neeche jagah nahi */
}
.step h3 {
  margin: 0 0 8px;                /* neeche 8px, baqi 0 */
  font-size: 1.3rem;              /* title size */
}
.step p {
  margin: 0 0 12px;               /* neeche 12px */
  color: var(--muted);            /* grey text */
}
.step ul {
  list-style: none;               /* default dots hata do */
  padding: 0;                     /* default left space hata do */
  margin: 0;                      /* default margin hata do */
  display: grid;                  /* items ek ke neeche ek */
  gap: 6px;                       /* items ke beech faasla */
  font-size: 0.92rem;             /* thoda chhota text */
}
.step li::before {
  content: "✓";                   /* har item se pehle tick */
  color: var(--teal-dark);        /* dark teal */
  font-weight: 700;               /* mota tick */
  margin-right: 8px;              /* tick aur text ke beech jagah */
}

/* chhota fake "screen" jo har step ke saath dikhta hai */
.mock {
  background: var(--navy);        /* dark box */
  color: #fff;                    /* safed text */
  border-radius: 14px;            /* gol kone */
  padding: 16px;                  /* andar ki jagah */
  display: grid;                  /* rows ek ke neeche ek */
  gap: 10px;                      /* rows ke beech faasla */
  font-size: 0.8rem;              /* chhota text */
}
.mock-row {
  display: flex;                  /* naam aur status ek line me */
  justify-content: space-between; /* ek left, ek right */
  gap: 10px;                      /* beech ka minimum faasla */
  background: var(--navy-soft);   /* thoda halka dark */
  padding: 8px 10px;              /* andar ki jagah */
  border-radius: 8px;             /* gol kone */
}
.mock-row b {
  color: var(--teal);             /* status teal me */
}
.mock-bubble {
  background: var(--navy-soft);   /* chat bubble (client ka) */
  padding: 8px 10px;              /* andar ki jagah */
  border-radius: 10px 10px 10px 2px;  /* neeche left kona nukila = bolne wale ki taraf */
  max-width: 90%;                 /* poori chaurai na le */
}
.mock-bubble.me {
  background: var(--teal);        /* hamara reply teal me */
  color: var(--navy);             /* dark text */
  border-radius: 10px 10px 2px 10px;  /* neeche right kona nukila */
  justify-self: end;              /* right side par */
}

/* Scroll ke saath card neeche se uthkar aaye. Sirf naye browsers me chalta hai,
   purane me card seedha dikhta hai (kuch toot'ta nahi). */
@supports (animation-timeline: view()) {
  .step {
    animation: step-in linear both;          /* niche wala keyframe, scroll se control */
    animation-timeline: view();              /* card screen me aane ke hisab se chale */
    animation-range: entry 0% entry 40%;     /* card ke dakhil hone ke pehle 40% me khatam */
  }
  @keyframes step-in {
    from { opacity: 0; transform: translateY(60px) scale(0.96); }  /* neeche, halka chhota, ghayab */
    to   { opacity: 1; transform: none; }                          /* apni jagah, poora dikhta */
  }
}

@media (max-width: 900px) {
  .step {
    grid-template-columns: auto 1fr;   /* mockup neeche chala jaye */
  }
  .mock {
    grid-column: 1 / -1;               /* mockup poori chaurai le */
  }
}
@media (max-width: 720px) {
  .step {
    position: static;                  /* mobile par sticky band (cards lambay hote hain) */
    grid-template-columns: 1fr;        /* sab ek ke neeche ek */
    padding: 24px;                     /* thodi kam padding */
  }
}


/* ================= 3) CASE STUDY CARDS ================= */
.cases {
  padding: 100px 24px;            /* section space */
  background: #f7f9fb;            /* bahut halka grey background */
}
.cases-grid {
  max-width: var(--container);    /* site ki standard chaurai */
  margin: 48px auto 0;            /* beech me, heading se neeche */
  display: grid;                  /* grid layout */
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));  /* jitne fit hon utne columns, mobile par khud 1 */
  gap: 28px;                      /* cards ke beech faasla */
}
.case {
  background: #fff;               /* safed card */
  border: 1px solid var(--line);  /* halki border */
  border-radius: var(--radius);   /* gol kone */
  overflow: hidden;               /* image ke kone card ke saath kategi */
  transition: transform 0.4s, box-shadow 0.4s;  /* hover smooth ho */
}
.case:hover {
  transform: translateY(-10px);   /* card upar uthe */
  box-shadow: var(--shadow);      /* saya gehra */
}
.case-img {
  position: relative;             /* tag aur shine isi ke andar position honge */
  aspect-ratio: 4 / 3;            /* hamesha 4:3 shape, image jump nahi karegi */
  overflow: hidden;               /* zoom hone par bahar na nikle */
}
.case-img img {
  width: 100%;                    /* poori chaurai */
  height: 100%;                   /* poori unchai */
  object-fit: cover;              /* image bina kheenche box bhare */
  display: block;                 /* image ke neeche chhoti gap na aaye */
  transition: transform 0.8s ease;  /* dheere zoom */
}
.case:hover .case-img img {
  transform: scale(1.08);         /* hover par 8% zoom */
}
.case-img::after {
  content: "";                    /* khali overlay */
  position: absolute;             /* image ke upar */
  inset: 0;                       /* poore box par */
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);  /* tirchi chamak ki patti */
  transform: translateX(-120%);   /* shuru me left bahar */
  transition: transform 0.9s;     /* hover par slide ho */
  pointer-events: none;           /* click ko na roke */
}
.case:hover .case-img::after {
  transform: translateX(120%);    /* patti image ke upar se guzar kar right nikal jaye */
}
.case-tag {
  position: absolute;             /* image ke upar */
  top: 14px;                      /* upar se 14px */
  left: 14px;                     /* left se 14px */
  z-index: 2;                     /* chamak ke upar rahe */
  background: rgba(13, 17, 23, 0.8);  /* semi dark pill */
  color: #fff;                    /* safed text */
  font-size: 0.75rem;             /* chhota text */
  padding: 6px 12px;              /* andar ki jagah */
  border-radius: 999px;           /* poori gol pill */
  backdrop-filter: blur(6px);     /* peeche ki image halki blur */
}
.case-body {
  padding: 24px;                  /* text ke aas paas jagah */
}
.case-body h3 {
  margin: 0 0 6px;                /* neeche 6px */
}
.case-body p {
  margin: 0 0 18px;               /* neeche 18px */
  color: var(--muted);            /* grey */
  font-size: 0.95rem;             /* thoda chhota */
}
.kpis {
  display: grid;                  /* numbers ke boxes */
  grid-template-columns: repeat(2, 1fr);  /* 2 barabar columns */
  gap: 12px;                      /* boxes ke beech faasla */
  margin-bottom: 18px;            /* link se pehle jagah */
}
.kpis div {
  background: var(--teal-tint);   /* halka teal box */
  border-radius: 12px;            /* gol kone */
  padding: 12px;                  /* andar ki jagah */
}
.kpis strong {
  display: block;                 /* number apni line me */
  font-family: "Poppins", sans-serif;  /* heading font */
  font-size: 1.4rem;              /* bada number */
  color: var(--teal-dark);        /* dark teal */
}
.kpis span {
  font-size: 0.78rem;             /* chhota label */
  color: var(--muted);            /* grey */
}
.case-link {
  display: inline-flex;           /* text aur arrow ek line me */
  gap: 8px;                       /* text aur arrow ke beech jagah */
  font-weight: 600;               /* thoda mota */
  color: var(--teal-dark);        /* dark teal */
  text-decoration: none;          /* underline hatao */
}
.case-link .arrow {
  transition: transform 0.3s;     /* arrow smooth hile */
}
.case:hover .case-link .arrow {
  transform: translateX(6px);     /* card hover par arrow aage khiske */
}


/* ================= 4) PROMISES MARQUEE ================= */
.promise {
  padding: 100px 0;               /* upar neeche space, side 0 taake cards poori screen par chalen */
  background: var(--navy);        /* dark section */
  color: #fff;                    /* safed text */
  overflow: hidden;               /* side scroll bar na aaye */
}
.promise h2 {
  color: #fff;                    /* heading safed (default dark hoti hai) */
}
.promise .section-head {
  padding: 0 24px;                /* heading ko screen ke kinare se door rakho */
}
.promise-marquee {
  margin-top: 48px;               /* heading se faasla */
  overflow: hidden;               /* bahar ke cards chhupao */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);  /* safari ke liye */
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);  /* dono kinare dheere ghayab */
}
.promise-track {
  display: flex;                  /* groups ek line me */
  width: max-content;             /* content jitni chaurai */
  animation: ticker-move 50s linear infinite;  /* upar wala keyframe dobara use */
}
.promise-marquee:hover .promise-track {
  animation-play-state: paused;   /* hover par ruk jaye taake padh sakein */
}
.promise-group {
  display: flex;                  /* cards ek line me */
  gap: 20px;                      /* cards ke beech faasla */
  padding-right: 20px;            /* groups ke beech wohi faasla */
}
.promise-card {
  width: 300px;                   /* fixed chaurai */
  flex: none;                     /* sikudna band */
  background: var(--navy-soft);   /* halka dark card */
  border: 1px solid rgba(255, 255, 255, 0.08);  /* bahut halki border */
  border-radius: var(--radius);   /* gol kone */
  padding: 26px;                  /* andar ki jagah */
  transition: transform 0.3s, border-color 0.3s;  /* hover smooth */
}
.promise-card:hover {
  transform: translateY(-6px);    /* thoda upar */
  border-color: var(--teal);      /* teal border */
}
.promise-icon {
  width: 44px;                    /* icon box chaurai */
  height: 44px;                   /* icon box unchai */
  border-radius: 12px;            /* gol kone */
  background: rgba(20, 184, 166, 0.15);  /* halka teal */
  display: grid;                  /* emoji ko beech me lane ke liye */
  place-items: center;            /* beech me */
  font-size: 1.3rem;              /* emoji size */
}
.promise-card h3 {
  margin: 14px 0 8px;             /* upar 14, neeche 8 */
  font-size: 1.1rem;              /* title size */
  color: #fff;                    /* safed */
}
.promise-card p {
  margin: 0;                      /* extra margin nahi */
  color: #9aa4b2;                 /* halka grey text dark par */
  font-size: 0.92rem;             /* thoda chhota */
}


/* ================= 5) REVIEW CARDS ================= */
.reviews {
  padding: 100px 24px;            /* section space */
}
.reviews-grid {
  max-width: var(--container);    /* standard chaurai */
  margin: 48px auto 0;            /* beech me */
  display: grid;                  /* grid */
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));  /* khud columns adjust */
  gap: 28px;                      /* faasla */
}
.review {
  background: #fff;               /* safed card */
  border: 1px solid var(--line);  /* halki border */
  border-radius: var(--radius);   /* gol kone */
  overflow: hidden;               /* photo ke kone kategi */
  transition: transform 0.4s, box-shadow 0.4s;  /* hover smooth */
}
.review:hover {
  transform: translateY(-8px);    /* upar uthe */
  box-shadow: var(--shadow);      /* saya */
}
.review-photo {
  width: 100%;                    /* poori chaurai */
  aspect-ratio: 16 / 10;          /* fixed shape */
  object-fit: cover;              /* bina kheenche bhare */
  display: block;                 /* neeche gap nahi */
}
.review-body {
  padding: 22px;                  /* andar ki jagah */
}
.review-tag {
  display: inline-block;          /* pill jaisa box */
  background: var(--teal-tint);   /* halka teal */
  color: var(--teal-dark);        /* dark teal text */
  font-size: 0.75rem;             /* chhota */
  font-weight: 600;               /* thoda mota */
  padding: 4px 10px;              /* andar ki jagah */
  border-radius: 999px;           /* gol pill */
  margin-bottom: 10px;            /* neeche faasla */
}
.stars {
  color: #f5b301;                 /* sunehri */
  letter-spacing: 2px;            /* stars ke beech jagah */
}
.review blockquote {
  margin: 12px 0 16px;            /* upar neeche faasla */
  line-height: 1.6;               /* padhne me aasaan */
  color: var(--text);             /* normal dark text */
}
.review-who strong {
  display: block;                 /* naam apni line me */
}
.review-who small {
  color: var(--muted);            /* role grey me */
}


/* ================= 6) APPROACH CARDS ================= */
.approach {
  padding: 100px 24px;            /* section space */
  background: var(--teal-tint);   /* halka teal background */
}
.approach-grid {
  max-width: 960px;               /* thodi chhoti chaurai */
  margin: 48px auto 0;            /* beech me */
  display: grid;                  /* grid */
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));  /* khud adjust */
  gap: 24px;                      /* faasla */
}
.approach-card {
  display: block;                 /* poora card clickable */
  background: #fff;               /* safed */
  border: 2px solid transparent;  /* abhi border nazar nahi aati (hover par aayegi) */
  border-radius: var(--radius);   /* gol kone */
  padding: 30px;                  /* andar ki jagah */
  color: inherit;                 /* link ka neela color na aaye */
  text-decoration: none;          /* underline nahi */
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;  /* hover smooth */
}
.approach-card:hover {
  transform: translateY(-8px);    /* upar uthe */
  border-color: var(--teal);      /* teal border aaye */
  box-shadow: var(--shadow);      /* saya */
}
.approach-icon {
  font-size: 2rem;                /* bada emoji */
}
.approach-card h3 {
  margin: 12px 0 6px;             /* upar neeche faasla */
}
.approach-card p {
  margin: 0;                      /* extra margin nahi */
  color: var(--muted);            /* grey */
}
.reply {
  display: inline-block;          /* pill jaisa */
  margin-top: 16px;               /* upar se faasla */
  background: var(--teal-tint);   /* halka teal */
  color: var(--teal-dark);        /* dark teal text */
  font-size: 0.8rem;              /* chhota */
  padding: 5px 12px;              /* andar ki jagah */
  border-radius: 999px;           /* gol pill */
}
.live::before {
  content: "";                    /* chhota dot */
  display: inline-block;          /* size de sakein */
  width: 8px;                     /* dot chaurai */
  height: 8px;                    /* dot unchai */
  border-radius: 50%;             /* gol */
  background: var(--teal);        /* teal */
  margin-right: 8px;              /* text se faasla */
  animation: live-pulse 1.6s infinite;  /* dhadakta hua */
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.6); }   /* shuru: koi ring nahi */
  70%  { box-shadow: 0 0 0 8px rgba(20, 184, 166, 0); }   /* ring phail kar ghayab */
  100% { box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }     /* wapas shuru */
}


/* ================= 7) FAQ ================= */
.faq {
  padding: 100px 24px;            /* section space */
}
.faq-list {
  max-width: 780px;               /* tang column, padhne me aasaan */
  margin: 48px auto 0;            /* beech me */
  display: grid;                  /* ek ke neeche ek */
  gap: 14px;                      /* faasla */
}
.faq details {
  background: #fff;               /* safed */
  border: 1px solid var(--line);  /* halki border */
  border-radius: 16px;            /* gol kone */
  padding: 20px 24px;             /* andar ki jagah */
  transition: border-color 0.3s, box-shadow 0.3s;  /* khulte waqt smooth */
}
.faq details[open] {
  border-color: var(--teal);      /* khula ho to teal border */
  box-shadow: var(--shadow);      /* saya */
}
.faq summary {
  display: flex;                  /* sawal aur + ek line me */
  justify-content: space-between; /* ek left ek right */
  gap: 16px;                      /* beech faasla */
  cursor: pointer;                /* haath ka nishan */
  font-weight: 600;               /* mota */
  list-style: none;               /* default triangle hatao (Firefox) */
}
.faq summary::-webkit-details-marker {
  display: none;                  /* default triangle hatao (Chrome, Safari) */
}
.faq summary::after {
  content: "+";                   /* plus ka nishan */
  color: var(--teal-dark);        /* dark teal */
  font-size: 1.4rem;              /* thoda bada */
  line-height: 1;                 /* extra unchai nahi */
  transition: transform 0.3s;     /* ghoomna smooth */
}
.faq details[open] summary::after {
  transform: rotate(45deg);       /* khulne par + ghoom kar x ban jata hai */
}
.faq details p {
  margin: 14px 0 0;               /* sawal se faasla */
  color: var(--muted);            /* grey */
  animation: faq-open 0.4s ease;  /* jawab halka sa neeche utarta hai */
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-8px); }  /* upar, ghayab */
  to   { opacity: 1; transform: none; }              /* apni jagah, dikhta */
}


/* ================= ACCESSIBILITY ================= */
@media (prefers-reduced-motion: reduce) {
  .ticker-track,
  .promise-track,
  .live::before,
  .step {
    animation: none;              /* jinhe motion se takleef hoti hai unke liye sab band */
  }
}


/* ===== ng-showcase.css =====
   Add <link rel="stylesheet" href="css/ng-showcase.css"> AFTER style.css (or paste at the end of style.css).
   Uses your :root variables. JS (js/ng-showcase.js) moves the track and changes card heights like a wave.
   Without JS the cards still show, at a medium height, and can be swiped sideways. */

.ng-showcase {
  --ng-max: 470;                              /* tallest card in px (the wave peak) */
  --ng-min: 320;                              /* shortest card in px (the wave dip) */
  --ng-gap: 24px;                             /* space between cards */
  overflow: hidden;                           /* never causes page-level horizontal scroll */
  padding: 90px 0 0;                          /* space above the heading; the band touches the section bottom */
  background: #fff;
}

.ng-viewport {
  position: relative;
  min-height: calc(var(--ng-max) * 1px + 100px);   /* fixed height, so the page never jumps when card heights change */
  display: flex;
  align-items: center;                        /* track sits in the vertical middle */
  padding: 50px 0;
  overflow-x: auto;                           /* FALLBACK (no JS): swipe sideways */
  scrollbar-width: none;                      /* hide scrollbar (Firefox) */
  background: linear-gradient(180deg, #fff 0%, var(--teal-tint) 56%, var(--navy-soft) 56%, var(--navy) 100%);
  /* white on top, light teal fading down, then a hard edge into the navy band (like the video) */
}
.ng-viewport::-webkit-scrollbar { display: none; }   /* hide scrollbar (Chrome, Safari) */
.ng-showcase.ng-live .ng-viewport { overflow: hidden; }  /* when JS is running: no scrolling, JS moves the track */

.ng-track {
  position: relative;                         /* JS reads each card's position from here */
  display: flex;
  align-items: center;                        /* cards centred vertically: different heights = wave */
  width: max-content;                         /* as wide as all the cards */
  height: calc(var(--ng-max) * 1px);          /* room for the tallest card */
  padding: 0 var(--ng-gap);
  will-change: transform;                     /* smoother movement */
}
.ng-group {
  display: flex;
  align-items: center;
  gap: var(--ng-gap);                         /* space between cards */
  padding-right: var(--ng-gap);               /* same space between the end of one group and the start of the next */
}

/* ---------- card ---------- */
.ng-project-card {
  position: relative;                         /* badge is placed inside */
  flex: none;                                 /* never shrinks */
  display: flex;
  flex-direction: column;                     /* image on top, text at the bottom */
  width: clamp(240px, 21vw, 310px);
  height: calc((var(--ng-min) + var(--ng-max)) / 2 * 1px);  /* medium height; JS replaces this every frame */
  padding: 18px 20px 20px;
  background: linear-gradient(#f1fbf9, #fff 40%);  /* white card, faint teal at the very top */
  border: 1.5px solid transparent;            /* turns teal on hover */
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;                           /* image follows the rounded corners */
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;  /* height is NOT transitioned: JS animates it */
}
.ng-project-card:hover,
.ng-project-card:focus-visible {              /* focus style is ready for when cards become links */
  transform: translateY(-8px);
  border-color: var(--teal);
  box-shadow: 0 26px 54px -20px rgba(20, 184, 166, .5);
  outline: none;
}
.ng-project-card:focus-visible { box-shadow: 0 0 0 3px rgba(20, 184, 166, .45), var(--shadow); }

.ng-badge {
  position: absolute; top: 18px; left: 20px; z-index: 2;   /* small pill over the image */
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--teal-tint);
  border: 1px solid rgba(20, 184, 166, .3);
  color: var(--teal-dark);
  font: 600 .72rem 'Poppins', sans-serif;
}

.ng-img {
  flex: 1;                                    /* image takes whatever height the text leaves */
  min-height: 0;                              /* allows it to shrink when the card gets shorter */
  width: 100%;
  margin-top: 38px;                           /* space for the badge */
  border-radius: 16px;
  object-fit: cover;
  object-position: top;                       /* keeps the top of your screenshot (header + hero) visible */
  -webkit-mask-image: linear-gradient(#000 70%, transparent);   /* image melts into the white card */
  mask-image: linear-gradient(#000 70%, transparent);
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}
.ng-project-card:hover .ng-img { transform: scale(1.05); }

.ng-meta { padding-top: 12px; }
.ng-meta h3 { font-size: 1.15rem; line-height: 1.25; color: var(--navy); }
.ng-meta p { margin-top: 2px; font-size: .85rem; color: var(--muted); }
.ng-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px;
  color: var(--teal-dark);
  font: 600 .85rem 'Poppins', sans-serif;
}
.ng-link i { font-style: normal; transition: transform .3s ease; }
.ng-project-card:hover .ng-link i { transform: translate(3px, -3px); }   /* arrow moves up-right */

/* ---------- tablet ---------- */
@media (max-width: 1000px) {
  .ng-showcase { --ng-max: 420; --ng-min: 290; --ng-gap: 20px; padding-top: 72px; }
  .ng-project-card { width: 260px; }
}

/* ---------- phones ---------- */
@media (max-width: 600px) {
  .ng-showcase { --ng-max: 370; --ng-min: 270; --ng-gap: 16px; padding-top: 56px; }
  .ng-viewport { min-height: calc(var(--ng-max) * 1px + 70px); padding: 35px 0; }
  .ng-project-card { width: 232px; padding: 14px 16px 16px; border-radius: 22px; }
  .ng-badge { top: 14px; left: 16px; }
  .ng-img { margin-top: 36px; }
}

/* ---------- reduced motion: the cards stay still and can be swiped ---------- */
@media (prefers-reduced-motion: reduce) {
  .ng-project-card, .ng-img, .ng-link i { transition: none; }
}


/* ===== portfolio.css: sirf portfolio page ka CSS. Colors style.css ke variables se aate hain ===== */

/* top par scroll progress bar (JS width/scale set karta hai) */
.pf-bar{position:fixed;top:0;left:0;width:100%;height:3px;background:var(--teal);transform:scaleX(0);transform-origin:left;z-index:200}

/* ---------- 1. Pinned section ---------- */
.pf-burst{position:relative;background:var(--navy)}                 /* navy background; JS isko lamba karta hai */
.pf-sticky{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;overflow:hidden;padding:84px 28px 28px} /* scroll karte waqt screen par atka rehta hai */
.pf-head{position:relative;z-index:6;text-align:center;color:#fff;margin-bottom:22px;will-change:transform} /* heading, JS isay move/scale karta hai */
.pf-head h1{font-size:clamp(2.2rem,6vw,4.4rem);line-height:1.05}
.pf-head p{color:#9aa2b1;margin:10px auto 0;max-width:520px}
.pf-stage{position:relative;width:100%;max-width:960px;height:min(60vh,560px)} /* cards ka area (position:relative zaroori hai offsets ke liye) */
.pf-grid{height:100%;display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,minmax(0,1fr));gap:18px} /* 2 columns x 2 rows */

/* card: bahar wala JS se move hota hai, andar wala (pf-in) 3D tilt leta hai */
.pf-card{display:block;min-height:0;perspective:900px;outline:none;will-change:transform,opacity}
.pf-in{position:relative;height:100%;border-radius:var(--radius);overflow:hidden;background:var(--navy-soft);border:1px solid rgba(255,255,255,.1);box-shadow:0 26px 50px -20px rgba(0,0,0,.7);transform:rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));transition:transform .25s ease,border-color .3s}
.pf-card:hover .pf-in,.pf-card:focus-visible .pf-in{border-color:var(--teal)}
.pf-in img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) brightness(.6);transform:scale(1.02);transition:filter .5s ease,transform .7s cubic-bezier(.22,1,.36,1)} /* default: black/gray */
.pf-card:hover img,.pf-card:focus-visible img{filter:none;transform:scale(1.08)}                  /* hover par asli color */
.pf-in::after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(13,17,23,.92),transparent 55%);pointer-events:none} /* neeche text ke liye dark shade */
.pf-info{position:absolute;left:0;right:0;bottom:0;z-index:2;padding:18px;display:flex;justify-content:space-between;align-items:flex-end;gap:10px;color:#fff}
.pf-info h3{font-size:1.1rem}
.pf-info p{font-size:.8rem;color:#c4cbd0}
.pf-info b{width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.14);transition:transform .3s,background .3s}
.pf-card:hover .pf-info b{transform:rotate(45deg);background:var(--teal)}

/* ---------- 2. What we build: CSS-only animated visuals ---------- */
.pf-build,.pf-flow{padding:100px 28px}
.pf-build-grid{max-width:var(--container);margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:24px}
.pf-bc{padding:20px;border:1px solid var(--line);border-radius:var(--radius);background:#fff;transition:transform .3s,border-color .3s,box-shadow .3s}
.pf-bc:hover{transform:translateY(-6px);border-color:var(--teal);box-shadow:var(--shadow)}
.pf-bc h3{margin:18px 0 8px;color:var(--navy);font-size:1.1rem}
.pf-bc p{color:var(--muted);font-size:.9rem}
.pf-vis{position:relative;height:140px;border-radius:14px;background:var(--teal-tint);overflow:hidden} /* animation ka dabba */
.pf-vis i{display:block}

/* Web: browser window, bars baar baar grow hoti hain */
.vis-web{display:flex;flex-direction:column;gap:9px;padding:30px 18px 16px}
.vis-web::before{content:"";position:absolute;top:10px;left:14px;width:36px;height:8px;background:radial-gradient(circle,var(--teal-dark) 3px,transparent 4px) 0 0/12px 8px repeat-x} /* 3 window dots */
.vis-web i{height:10px;border-radius:6px;background:var(--teal);transform-origin:left;animation:pfBar 3.2s ease-in-out infinite}
.vis-web i:nth-child(2){width:70%;background:var(--teal-dark);animation-delay:.3s}
.vis-web i:nth-child(3){width:45%;animation-delay:.6s}
@keyframes pfBar{0%,100%{transform:scaleX(.15)}50%{transform:scaleX(1)}}

/* Shopify: item cart (dabbay) mein girta hai */
.vis-shop::before{content:"";position:absolute;left:50%;bottom:22px;width:70px;height:44px;margin-left:-35px;border-radius:6px 6px 14px 14px;background:var(--navy)}
.vis-shop i{position:absolute;left:50%;top:0;width:26px;height:26px;margin-left:-13px;border-radius:50%;background:var(--teal);animation:pfDrop 2.4s cubic-bezier(.5,0,.8,.5) infinite}
@keyframes pfDrop{0%{transform:translateY(-30px);opacity:0}15%{opacity:1}60%{transform:translateY(78px)}80%,100%{transform:translateY(78px) scale(.4);opacity:0}}

/* Branding: 3 brand colors aapas mein overlap hokar ghoomte hain */
.vis-brand{display:grid;place-items:center}
.vis-brand i{position:absolute;width:46px;height:46px;border-radius:50%;mix-blend-mode:multiply;animation:pfOrbit 4s ease-in-out infinite}
.vis-brand i:nth-child(1){background:var(--teal)}
.vis-brand i:nth-child(2){background:var(--teal-dark);animation-delay:-1.3s}
.vis-brand i:nth-child(3){background:var(--navy);animation-delay:-2.6s}
@keyframes pfOrbit{0%,100%{transform:translateX(-24px)}50%{transform:translateX(24px)}}

/* Social: hearts upar ki taraf float karte hain */
.vis-social i{position:absolute;bottom:12px;font-style:normal;font-size:1.5rem;color:var(--teal);animation:pfFloat 3s ease-in infinite}
.vis-social i:nth-child(1){left:22%}
.vis-social i:nth-child(2){left:48%;color:var(--teal-dark);animation-delay:1s}
.vis-social i:nth-child(3){left:72%;animation-delay:2s}
@keyframes pfFloat{0%{transform:translateY(0) scale(.6);opacity:0}20%{opacity:1}100%{transform:translateY(-100px) scale(1.2);opacity:0}}

/* ---------- 3. Workflow: dot 4 steps se guzarta hai ---------- */
.pf-flow{background:var(--teal-tint)}
.pf-track{position:relative;max-width:1100px;margin:0 auto;padding:0;list-style:none;display:grid;grid-template-columns:repeat(4,1fr);gap:24px;text-align:center}
.pf-track::before{content:"";position:absolute;top:28px;left:12.5%;right:12.5%;height:3px;border-radius:3px;background:rgba(13,148,136,.25)} /* line */
.pf-track::after{content:"";position:absolute;top:19px;left:12.5%;width:20px;height:20px;margin-left:-10px;border-radius:50%;background:var(--teal);box-shadow:0 0 0 6px rgba(20,184,166,.2),0 0 18px var(--teal);animation:pfDot 8s linear infinite} /* glowing dot */
@keyframes pfDot{0%{left:12.5%}25%{left:37.5%}50%{left:62.5%}75%,100%{left:87.5%}}
.pf-track li{position:relative;z-index:1}
.pf-track b{display:grid;place-items:center;width:58px;height:58px;margin:0 auto 16px;border-radius:50%;background:#fff;border:3px solid var(--line);color:var(--muted);font:700 1rem 'Poppins',sans-serif;animation:pfStep 8s ease-in-out infinite;animation-delay:calc(var(--i)*2s)} /* har step apni baari par roshan */
@keyframes pfStep{0%,34%,100%{background:#fff;border-color:var(--line);color:var(--muted);transform:scale(1)}5%,28%{background:var(--teal);border-color:var(--teal);color:#fff;transform:scale(1.14)}}
.pf-track h3{color:var(--navy);margin-bottom:6px;font-size:1.05rem}
.pf-track p{color:var(--muted);font-size:.88rem;max-width:230px;margin:0 auto}

/* ---------- 5. Approach ---------- */
.pf-approach{padding:100px 28px}
.pf-cols{max-width:var(--container);margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.pf-cols div{border-top:2px solid var(--teal);padding-top:18px}
.pf-cols h3{color:var(--navy);margin-bottom:8px}
.pf-cols p{color:var(--muted);font-size:.92rem}

/* ---------- Touch devices: hover nahi hota, isliye color hamesha ---------- */
@media(hover:none){.pf-in img{filter:none}}

/* ---------- Tablet (1000px) ---------- */
@media(max-width:1000px){
  .pf-build-grid{grid-template-columns:repeat(2,1fr)}
  .pf-cols{grid-template-columns:1fr;gap:28px}
}

/* ---------- Pinning band (900px): sticky band, normal reveal grid ---------- */
@media(max-width:900px){
  .pf-sticky{position:static;height:auto;padding:100px 20px 70px}   /* pinning band */
  .pf-stage{height:auto}
  .pf-grid{grid-template-rows:none;gap:16px}
  .pf-in{aspect-ratio:4/3}
  .pf-build,.pf-flow,.pf-approach{padding:72px 20px}
  .pf-flat .pf-card{opacity:0}                                       /* reveal se pehle chhupa */
  .pf-flat .pf-card.pf-show{animation:pfUp .7s cubic-bezier(.2,.8,.2,1) forwards}
  .pf-track{grid-template-columns:1fr;gap:28px;text-align:left}      /* workflow vertical */
  .pf-track::before,.pf-track::after{display:none}
  .pf-track li{display:grid;grid-template-columns:58px 1fr;column-gap:16px;align-items:center}
  .pf-track b{grid-row:span 2;margin:0}
  .pf-track p{margin:0;max-width:none}
}
@keyframes pfUp{from{opacity:0;transform:translateY(40px) scale(.95)}to{opacity:1;transform:none}}

/* ---------- Mobile (560px): 1 column ---------- */
@media(max-width:560px){
  .pf-grid,.pf-build-grid{grid-template-columns:1fr}
  .pf-in{aspect-ratio:16/11}
}

/* ---------- Reduced motion ---------- */
@media(prefers-reduced-motion:reduce){
  .pf-sticky{position:static;height:auto;padding:110px 28px 60px}
  .pf-stage{height:auto}
  .pf-grid{grid-template-rows:none}
  .pf-in{aspect-ratio:16/10}
  .pf-flat .pf-card{opacity:1;animation:none!important}
  .pf-vis i,.pf-track b,.pf-track::after,.pf-in img{animation:none;transition:none}
}

/* ===== contact.css: styles for contact.html only.
   Loaded AFTER style.css, so it reuses :root variables (--navy, --teal, --line, --radius ...).
   Every class starts with "ct-" so nothing clashes with your other pages. ===== */

/* active page underline in the navbar (style.css only draws it on hover) */
.nav-links a[aria-current="page"]::after { width: 100%; }

/* ---------- A) HERO ---------- */
.ct-hero { position: relative; overflow: hidden; padding: 90px 28px 80px; text-align: center; background: linear-gradient(180deg, #fff 0%, var(--teal-tint) 100%); } /* soft white-to-teal wash */
.ct-hero-inner { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; } /* content sits above the decoration */
.ct-hero h1 { font-size: clamp(2rem, 5.2vw, 3.4rem); line-height: 1.12; color: var(--navy); margin: 18px 0 18px; }
.ct-lead { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin: 0 auto 32px; }

.ct-status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 500; color: var(--navy); } /* small response-time pill */
.ct-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: ctPulse 1.8s infinite; } /* pulsing green-teal dot */
@keyframes ctPulse { 0% { box-shadow: 0 0 0 0 rgba(20,184,166,.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(20,184,166,0); } }

.ct-orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; } /* blurred glow circles */
.ct-orb-1 { width: 360px; height: 360px; background: var(--teal); opacity: .22; top: -120px; left: -90px; animation: ctDrift 14s ease-in-out infinite alternate; }
.ct-orb-2 { width: 300px; height: 300px; background: var(--teal-dark); opacity: .16; bottom: -140px; right: -60px; animation: ctDrift 17s ease-in-out infinite alternate-reverse; }
@keyframes ctDrift { from { transform: translate(0, 0); } to { transform: translate(40px, 30px); } }
.ct-ring { position: absolute; width: 420px; height: 420px; right: 8%; top: -170px; border: 1px dashed rgba(13,148,136,.35); border-radius: 50%; pointer-events: none; animation: ctSpin 40s linear infinite; }
@keyframes ctSpin { to { transform: rotate(360deg); } }

/* ---------- B) CONTACT CARDS ---------- */
.ct-info { padding: 0 28px; margin-top: -34px; position: relative; z-index: 2; } /* cards overlap the bottom of the hero */
.ct-cards { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ct-card { display: block; padding: 26px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: inherit; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
a.ct-card:hover, a.ct-card:focus-visible { transform: translateY(-6px); border-color: var(--teal); outline: none; } /* only real links lift on hover */
a.ct-card:focus-visible { box-shadow: 0 0 0 3px rgba(20,184,166,.35); }
.ct-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--teal-tint); color: var(--teal-dark); margin-bottom: 16px; transition: background .3s, color .3s; }
a.ct-card:hover .ct-icon { background: var(--teal); color: #fff; }
.ct-icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ct-card h2 { font-size: 1.05rem; color: var(--navy); margin-bottom: 4px; }
.ct-card p { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; } /* long email never overflows */

/* ---------- C) FORM ---------- */
.ct-form-section { padding: 90px 28px; scroll-margin-top: 80px; } /* scroll-margin keeps the sticky navbar off the form */
.ct-form-layout { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.ct-aside { position: sticky; top: 110px; }
.ct-aside h2 { font-size: 2rem; color: var(--navy); margin-bottom: 12px; }
.ct-aside > p { color: var(--muted); margin-bottom: 28px; max-width: 420px; }
.ct-next { list-style: none; display: grid; gap: 18px; }
.ct-next li { display: flex; gap: 14px; align-items: flex-start; }
.ct-next b { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--teal-tint); color: var(--teal-dark); font: 700 .9rem 'Poppins', sans-serif; }
.ct-next h3 { font-size: 1rem; color: var(--navy); }
.ct-next p { color: var(--muted); font-size: .88rem; }

.ct-form-card { padding: 36px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ct-full { grid-column: 1 / -1; } /* field spans both columns */
.ct-field label { display: block; margin-bottom: 8px; font-size: .88rem; font-weight: 600; color: var(--navy); }
.ct-req { color: var(--teal-dark); }
.ct-opt { color: var(--muted); font-weight: 400; }

.ct-field input, .ct-field select, .ct-field textarea { width: 100%; padding: 14px 16px; font: 400 .95rem 'Inter', sans-serif; color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; outline: none; transition: border-color .25s, box-shadow .25s; } /* 16px+ padding = easy to tap */
.ct-field textarea { resize: vertical; min-height: 140px; }
.ct-field ::placeholder { color: #98a2b3; }
.ct-field input:focus, .ct-field select:focus, .ct-field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(20,184,166,.16); } /* visible focus ring */
.ct-field [aria-invalid="true"] { border-color: #d92d20; box-shadow: 0 0 0 4px rgba(217,45,32,.10); }

.ct-select { position: relative; }
.ct-select select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; } /* hide native arrow, draw our own */
.ct-select select:invalid { color: #98a2b3; } /* placeholder-grey until a real option is picked */
.ct-select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border-right: 2px solid var(--teal-dark); border-bottom: 2px solid var(--teal-dark); transform: rotate(45deg); pointer-events: none; transition: transform .25s, margin .25s; }
.ct-select:focus-within::after { transform: rotate(-135deg); margin-top: -1px; } /* arrow flips while focused */

.ct-err { min-height: 0; margin-top: 6px; font-size: .8rem; color: #d92d20; }
.ct-err:empty { display: none; }
.ct-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* off-screen, not display:none */

.ct-banner { margin-top: 20px; padding: 14px 16px; border-radius: 14px; font-size: .9rem; display: grid; gap: 4px; }
.ct-banner[hidden] { display: none; }
.ct-banner-error { background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.ct-banner a { color: inherit; font-weight: 600; text-decoration: underline; }

.ct-submit { width: 100%; justify-content: center; margin-top: 24px; padding: 16px 24px; position: relative; }
.ct-submit:disabled { cursor: progress; opacity: .85; transform: none; }
.ct-submit:focus-visible { outline: 3px solid rgba(20,184,166,.45); outline-offset: 3px; }
.ct-spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: ctSpin .7s linear infinite; }
.ct-submit.is-loading .ct-spinner { display: inline-block; } /* spinner replaces the arrow while sending */
.ct-submit.is-loading .arrow { display: none; }
.ct-fine { margin-top: 14px; text-align: center; font-size: .8rem; color: var(--muted); }

.ct-success { text-align: center; padding: 40px 10px; outline: none; }
.ct-success[hidden] { display: none; }
.ct-check { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 50%; background: var(--teal); color: #fff; font-size: 1.8rem; animation: ctPop .5s cubic-bezier(.3,1.6,.5,1); }
@keyframes ctPop { from { transform: scale(0); } to { transform: scale(1); } }
.ct-success h2 { font-size: 1.6rem; color: var(--navy); margin-bottom: 10px; }
.ct-success p { color: var(--muted); max-width: 420px; margin: 0 auto 24px; }

/* ---------- D) WHATSAPP ---------- */
.ct-wa-section { padding: 0 28px 90px; }
.ct-wa { max-width: var(--container); margin: 0 auto; padding: 44px 50px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--navy); color: #fff; border-radius: 28px; }
.ct-wa .eyebrow { color: var(--teal); }
.ct-wa h2 { font-size: 1.7rem; margin-bottom: 6px; }
.ct-wa p:last-child { color: #c4cbd0; }

/* ---------- E) CLOSING ---------- */
.ct-close { max-width: 680px; margin: 0 auto; padding: 0 28px 100px; text-align: center; }
.ct-close h2 { font-size: 1.9rem; color: var(--navy); margin-bottom: 12px; }
.ct-close p { color: var(--muted); }

/* ---------- Scroll reveal (only active when JS added .ct-js to <html>) ---------- */
.ct-js .ct-reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease, border-color .3s, box-shadow .3s; }
.ct-js .ct-reveal.ct-in { opacity: 1; transform: none; }
.ct-js .ct-cards .ct-reveal:nth-child(2) { transition-delay: .08s; } /* small stagger across the cards */
.ct-js .ct-cards .ct-reveal:nth-child(3) { transition-delay: .16s; }
.ct-js .ct-cards .ct-reveal:nth-child(4) { transition-delay: .24s; }
.ct-js a.ct-card.ct-in:hover { transition-delay: 0s; } /* hover lift is instant once visible */

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .ct-cards { grid-template-columns: repeat(2, 1fr); }
  .ct-form-layout { grid-template-columns: 1fr; gap: 36px; }
  .ct-aside { position: static; }
  .ct-form-section { padding: 70px 24px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .ct-hero { padding: 64px 20px 70px; }
  .ct-info { padding: 0 20px; }
  .ct-cards { grid-template-columns: 1fr; }
  .ct-form-section { padding: 56px 20px; }
  .ct-form-card { padding: 24px 18px; border-radius: 22px; }
  .ct-grid { grid-template-columns: 1fr; gap: 18px; }
  .ct-field input, .ct-field select, .ct-field textarea { font-size: 16px; } /* 16px stops iPhone zooming on focus */
  .ct-wa-section { padding: 0 20px 70px; }
  .ct-wa { padding: 32px 24px; }
  .ct-wa .btn-primary { width: 100%; justify-content: center; }
  .ct-close { padding: 0 20px 80px; }
  .ct-ring { display: none; } /* decoration never competes with content on phones */
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ct-orb, .ct-ring, .ct-dot, .ct-check { animation: none; }
  .ct-js .ct-reveal { opacity: 1; transform: none; transition: none; }
  .ct-field input, .ct-field select, .ct-field textarea, .ct-card { transition: none; }
}


/* ===== hero-banners.css: animated hero for about.html and services.html =====
   Add <link rel="stylesheet" href="css/hero-banners.css"> AFTER style.css on BOTH pages.
   Uses only your :root variables. The old .services-hero stays untouched (portfolio.html still uses it).
   Classes: hx-hero (shared) + hx-about (light) or hx-services (navy). */

/* ---------- shared base ---------- */
.hx-hero {
  position: relative;
  overflow: hidden;                              /* decoration never causes page-level horizontal scroll */
  isolation: isolate;                            /* decoration stays behind the text without touching other sections */
  padding: 110px 28px 100px;
  text-align: center;
}
.hx-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; }   /* text sits above the decoration */
.hx-hero h1 { font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.1; margin: 8px 0 22px; }
.hx-hero .hero-sub { max-width: 640px; margin: 0 auto 34px; }                      /* reuses your existing .hero-sub */
.hx-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* headline reveal: every word slides up out of its own mask. Pure CSS, so the text is never hidden if JS fails */
.hx-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hx-w > span {
  display: inline-block;
  transform: translateY(110%);                   /* starts hidden below the mask */
  animation: hxUp .9s cubic-bezier(.2, .8, .2, 1) forwards;
  animation-delay: calc(var(--d, 0) * 1ms);      /* --d is set per word in the HTML = the stagger */
}
@keyframes hxUp { to { transform: none; } }

.hx-fade { opacity: 0; transform: translateY(14px); animation: hxFade .8s ease forwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes hxFade { to { opacity: 1; transform: none; } }

/* ---------- decoration (all aria-hidden in the HTML) ---------- */
.hx-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hx-layer {                                      /* one parallax layer: JS only sets --px / --py / --sy on the hero */
  position: absolute;
  will-change: transform;
  transform: translate3d(
    calc(var(--px, 0) * var(--k, 0) * 1px),                                        /* mouse left/right */
    calc(var(--py, 0) * var(--k, 0) * 1px + var(--sy, 0) * var(--s, 0) * 1px),     /* mouse up/down + scroll */
    0);
}
.hx-fill { inset: 0; }                           /* layer covers the whole hero */
.hx-pos { left: var(--x); top: var(--y); }       /* layer placed at --x / --y (used by chips) */

.hx-grid {
  position: absolute; inset: -40px;
  background-image: linear-gradient(var(--hx-line) 1px, transparent 1px), linear-gradient(90deg, var(--hx-line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 5%, transparent 70%);   /* grid fades towards the edges */
  mask-image: radial-gradient(ellipse at center, #000 5%, transparent 70%);
}
.hx-orb { position: absolute; border-radius: 50%; filter: blur(80px); }               /* soft teal glow */
.hx-orb-a { width: 380px; height: 380px; left: -100px; top: -120px; background: var(--teal); opacity: var(--hx-orb-a); }
.hx-orb-b { width: 320px; height: 320px; right: -80px; bottom: -140px; background: var(--teal-dark); opacity: var(--hx-orb-b); }
.hx-ring {                                       /* thin circles that rotate very slowly */
  position: absolute; left: 50%; top: 50%;
  width: var(--d); height: var(--d);
  margin: calc(var(--d) / -2) 0 0 calc(var(--d) / -2);   /* centres the circle on the layer */
  border: 1px solid var(--hx-ring); border-radius: 50%;
  animation: hxSpin var(--t, 70s) linear infinite;
}
.hx-ring::after {                                /* small dot that travels around the ring */
  content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; margin-left: -4px;
  border-radius: 50%; background: var(--teal); box-shadow: 0 0 14px var(--teal);
}
.hx-ring-1 { --d: min(760px, 120vw); --t: 80s; border-style: dashed; }
.hx-ring-2 { --d: min(520px, 90vw); --t: 55s; animation-direction: reverse; }
@keyframes hxSpin { to { transform: rotate(360deg); } }

.hx-chip {                                       /* floating label cards */
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 10px 18px; border-radius: 999px;
  font: 600 .85rem 'Poppins', sans-serif;
  background: var(--hx-chip-bg); color: var(--hx-chip-text);
  border: 1px solid var(--hx-chip-line);
  box-shadow: 0 14px 30px -14px rgba(13, 17, 23, .35);
  opacity: 0;
  animation: hxFade .8s ease forwards, hxFloat 6s ease-in-out infinite alternate;
  animation-delay: calc(var(--d, 0) * 1ms), calc(var(--d, 0) * 1ms);   /* appears after the headline, then floats */
}
.hx-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
@keyframes hxFloat { from { translate: 0 0; } to { translate: 0 -12px; } }   /* "translate" property: does not clash with the fade transform */

/* ---------- ABOUT (light) ---------- */
.hx-about {
  --hx-line: rgba(13, 17, 23, .06);
  --hx-ring: rgba(13, 148, 136, .3);
  --hx-orb-a: .22; --hx-orb-b: .16;
  --hx-chip-bg: #fff; --hx-chip-text: var(--navy); --hx-chip-line: var(--line);
  background: linear-gradient(180deg, #fff 0%, var(--teal-tint) 100%);
}
.hx-about h1 { color: var(--navy); }
.hx-about h1 .hx-teal { color: var(--teal-dark); }
.hx-about .eyebrow { margin-bottom: 4px; }

/* ---------- SERVICES (navy) ---------- */
.hx-services {
  --hx-line: rgba(255, 255, 255, .06);
  --hx-ring: rgba(255, 255, 255, .16);
  --hx-orb-a: .3; --hx-orb-b: .22;
  --hx-chip-bg: rgba(255, 255, 255, .07); --hx-chip-text: #fff; --hx-chip-line: rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
}
.hx-services h1 { color: #fff; }
.hx-services .eyebrow { color: var(--teal); }
.hx-services .hero-sub { color: #aab2c0; }
.hx-services .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .25); }
.hx-services .btn-outline:hover { border-color: var(--teal); }
.hx-services .hx-chip { backdrop-filter: blur(8px); box-shadow: none; }

.hx-teal { position: relative; color: var(--teal); }   /* "forward": teal word with an underline that draws in */
.hx-teal::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .07em; border-radius: 4px;
  background: var(--teal); transform: scaleX(0); transform-origin: left;
  animation: hxLine .9s cubic-bezier(.2, .8, .2, 1) 1.1s forwards;
}
@keyframes hxLine { to { transform: scaleX(1); } }

.hx-rotator { margin: -6px 0 30px; color: #aab2c0; font-size: 1.05rem; }
.hx-rot { display: inline-grid; vertical-align: bottom; text-align: left; }   /* all words stacked in ONE cell: width/height never jump */
.hx-rot b { grid-area: 1 / 1; color: var(--teal); font-weight: 600; opacity: 0; transform: translateY(40%); transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.hx-rot b.is-on { opacity: 1; transform: none; }

.hx-sweep {                                      /* a thin light line that crosses the hero now and then */
  position: absolute; top: -20%; bottom: -20%; left: 0; width: 2px;
  background: linear-gradient(transparent, rgba(20, 184, 166, .8), transparent);
  transform: translateX(-10vw) rotate(18deg);
  animation: hxSweep 9s ease-in-out 2s infinite;
}
@keyframes hxSweep { 0% { transform: translateX(-10vw) rotate(18deg); opacity: 0; } 10%, 60% { opacity: 1; } 70%, 100% { transform: translateX(110vw) rotate(18deg); opacity: 0; } }

/* ---------- tablet / phone ---------- */
@media (max-width: 900px) {
  .hx-hero { padding: 84px 22px 72px; }
  .hx-chip-layer { display: none; }              /* floating labels are decoration only: hidden so nothing overlaps the text */
}
@media (max-width: 480px) {
  .hx-hero { padding: 70px 18px 60px; }
  .hx-hero h1 { font-size: clamp(2rem, 9vw, 2.4rem); }
  .hx-actions .btn-primary, .hx-actions .btn-outline { width: 100%; justify-content: center; }
}

/* ---------- reduced motion: final state at once, nothing moves ---------- */
@media (prefers-reduced-motion: reduce) {
  .hx-w > span { transform: none; animation: none; }
  .hx-fade, .hx-chip { opacity: 1; transform: none; animation: none; }
  .hx-ring, .hx-sweep { animation: none; }
  .hx-sweep { display: none; }
  .hx-teal::after { transform: none; animation: none; }
  .hx-rot b { transition: none; }
  .hx-layer { transform: none; }
}



  /* ---------- Section wrapper ---------- */
  .ng-web {
    background: var(--bg);                  /* white background */
    padding: clamp(40px, 6vw, 90px) 24px;   /* top/bottom space, side space */
  }
 
  /* ---------- Two-column grid ---------- */
  .ng-web__inner {
    max-width: var(--container);            /* site ki max width */
    margin: 0 auto;                         /* center */
    display: grid;                          /* 2 columns */
    grid-template-columns: 1.2fr 1fr;       /* left ~54%, right ~46% */
    gap: clamp(32px, 5vw, 72px);            /* gap between columns */
    align-items: center;                    /* text vertically centered against images */
  }
 
  /* ---------- Left: image stage ---------- */
  .ng-web__stage {
    position: relative;                     /* images + svg isi ke andar position honge */
    width: 100%;
    aspect-ratio: 806 / 760;                /* same ratio as the SVG viewBox, so everything scales together */
  }
 
  /* connector lines SVG */
  .ng-web__lines {
    position: absolute;                     /* stage ko poora cover kare */
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;                             /* images ke PEECHE */
    overflow: visible;                      /* round line caps clip na hon */
  }
  .ng-web__lines path {
    fill: none;                             /* sirf line, andar fill nahi */
    stroke-width: 2.5px;                    /* line thickness */
    stroke-linecap: round;                  /* rounded line ends */
    stroke-linejoin: round;                 /* rounded corners */
    vector-effect: non-scaling-stroke;      /* mobile par bhi thickness same rahe */
  }
  .ng-web__lines .is-light { stroke: var(--teal); }       /* light turquoise lines */
  .ng-web__lines .is-dark  { stroke: var(--teal-dark); }  /* dark teal lines */
 
  /* common style for all 5 images */
  .ng-web__img {
    position: absolute;                     /* percentage positions stage ke hisaab se */
    z-index: 1;                             /* lines ke UPAR */
    display: block;
    object-fit: cover;                      /* image crop hoke box fill kare */
    border-radius: var(--radius);           /* rounded corners (brand radius) */
    background: var(--teal-tint);           /* image na mile tab mint box dikhega */
  }
 
  /* positions: left / top / width / height = (px in 806x760 canvas) / canvas size */
  .ng-web__img--1 { left: 0.25%;  top: 0.53%;  width: 54.84%; height: 39.61%; } /* large, upper-left   */
  .ng-web__img--2 { left: 63.03%; top: 5.39%;  width: 27.17%; height: 21.32%; } /* small, upper-right  */
  .ng-web__img--3 { left: 21.71%; top: 49.74%; width: 26.80%; height: 21.05%; } /* small, middle-left  */
  .ng-web__img--4 { left: 56.20%; top: 39.08%; width: 43.80%; height: 34.47%; } /* large, middle-right */
  .ng-web__img--5 { left: 6.95%;  top: 75.26%; width: 41.56%; height: 24.74%; } /* lower-left          */
 
  /* ---------- Right: text ---------- */
  .ng-web__title {
    margin: 0 0 clamp(20px, 3vw, 36px);
    font-family: "Times New Roman", Georgia, serif;   /* elegant serif */
    font-weight: 400;
    font-size: clamp(2rem, 3.8vw, 3.5rem);            /* large, scales with screen */
    line-height: 1.4;                                 /* generous line spacing */
    color: var(--navy);                               /* heading colour */
  }
 
  .ng-web__text p {
    margin: 0 0 1.6em;                                /* gap between paragraphs */
    max-width: 52ch;                                  /* readable line length */
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(1rem, 1.25vw, 1.1rem);
    line-height: 1.85;                                /* serif ko thori zyada line-height */
    letter-spacing: 0.02em;
    color: #3d4452;                                   /* fallback dark grey */
    color: color-mix(in srgb, var(--text) 78%, #fff); /* brand text colour, softer */
  }
 
  /* ---------- Button (rounded + liquid glass) ---------- */
 
  /* wrapper: glass ke peeche rang chahiye warna white par blur nazar nahi aata */
  .ng-web__cta {
    position: relative;                               /* glow isi ke andar position hoga */
    display: inline-block;                            /* desktop par content jitni width */
    margin-top: 0.4rem;
    isolation: isolate;                               /* z-index sirf is wrapper ke andar kaam kare */
  }
  .ng-web__cta::before {                              /* button ke peeche soft teal/navy glow */
    content: "";
    position: absolute;
    inset: -10px -18px;                               /* button se thora bahar tak phailao */
    z-index: -1;                                      /* button ke peeche */
    border-radius: 999px;
    background:
      radial-gradient(circle at 25% 50%, var(--teal) 0%, transparent 60%),      /* left teal glow */
      radial-gradient(circle at 80% 50%, var(--navy-soft) 0%, transparent 60%); /* right navy glow */
    opacity: .55;
    filter: blur(14px);                               /* glow ko soft karo */
  }
 
  .ng-web__btn {
    position: relative;                               /* ::before gloss ke liye */
    display: inline-flex;                             /* text ko perfectly center karne ke liye */
    align-items: center;
    justify-content: center;
    min-height: 52px;                                 /* easy tap target */
    padding: 0 clamp(28px, 4vw, 46px);                /* screen ke hisaab se side padding */
    border-radius: 999px;                             /* fully rounded (pill) corners */
    border: 1px solid rgba(255, 255, 255, .45);       /* glass ki bright edge */
    overflow: hidden;                                 /* gloss button ke andar hi rahe */
    color: #fff;                                      /* white text */
    font-family: "Times New Roman", Georgia, serif;
    font-size: clamp(1rem, 1.3vw, 1.1rem);            /* responsive font size */
    font-weight: 700;
    letter-spacing: .03em;
    text-decoration: none;
    text-shadow: 0 1px 2px rgba(13, 17, 23, .45);     /* text glass par saaf dikhe */
    white-space: nowrap;                              /* text ek line me rahe */
    background: linear-gradient(135deg,
      rgba(13, 148, 136, .80),                        /* teal-dark, thora transparent */
      rgba(13, 17, 23, .78));                         /* navy, thora transparent */
    -webkit-backdrop-filter: blur(14px) saturate(180%);   /* Safari */
    backdrop-filter: blur(14px) saturate(180%);       /* glass blur: peeche ka glow blur hota hai */
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, .7),        /* upar ki chamak (light edge) */
      inset 0 -10px 18px rgba(255, 255, 255, .08),    /* neeche halki glass depth */
      0 14px 28px -12px rgba(13, 148, 136, .65);      /* neeche soft teal shadow */
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  }
  .ng-web__btn::before {                              /* upar wali glossy reflection */
    content: "";
    position: absolute;
    top: 0; left: 6%; right: 6%;
    height: 50%;                                      /* button ka upar ka aadha hissa */
    border-radius: 999px 999px 60% 60%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .38), rgba(255, 255, 255, 0));
    pointer-events: none;                             /* click is par nahi rukta */
  }
  .ng-web__btn:hover {
    transform: translateY(-2px);                      /* halka upar uthe */
    box-shadow:
      inset 0 1px 1px rgba(255, 255, 255, .85),
      inset 0 -10px 18px rgba(255, 255, 255, .12),
      0 18px 32px -12px rgba(13, 148, 136, .8);       /* shadow thori gehri */
  }
  .ng-web__btn:active { transform: translateY(0) scale(.98); }   /* click par daba hua */
  .ng-web__btn:focus-visible {                        /* keyboard users ke liye outline */
    outline: 3px solid var(--teal);
    outline-offset: 4px;
  }
 
  /* agar browser backdrop-filter support na kare to thora zyada solid rang */
  @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .ng-web__btn { background: linear-gradient(135deg, var(--teal-dark), var(--navy)); }
  }
 
  /* jin users ne motion kam kar rakha hai unke liye animation band */
  @media (prefers-reduced-motion: reduce) {
    .ng-web__btn { transition: none; }
    .ng-web__btn:hover, .ng-web__btn:active { transform: none; }
  }
 
  /* ---------- Laptop / desktop: poora section ek screen (one view) me ---------- */
  @media (min-width: 721px) {
    .ng-web { padding-block: clamp(12px, 2.5vh, 32px); }       /* upar-neeche space screen height ke hisaab se */
 
    .ng-web__stage {
      max-width: calc((100vh - 150px) * 806 / 760);            /* stage ki height screen height se (navbar + padding minus) zyada na ho; 806/760 = stage ratio */
      margin-inline: auto;                                     /* chhota hone par apne column me center */
    }
 
    .ng-web__title {
      font-size: clamp(1.8rem, min(3.4vw, 6.2vh), 3.2rem);     /* heading width aur height dono ke hisaab se */
      line-height: 1.25;                                       /* line spacing kam, height bachti hai */
      margin-bottom: clamp(12px, 2.4vh, 28px);                 /* heading ke neeche gap kam */
    }
 
    .ng-web__text p {
      font-size: clamp(.9rem, min(1.2vw, 2.2vh), 1.1rem);      /* paragraph text screen height ke hisaab se */
      line-height: 1.6;                                        /* pehle 1.85 tha */
      margin-bottom: 1em;                                      /* paragraphs ke beech gap kam */
    }
  }
 
  /* ---------- Tablet ---------- */
  @media (max-width: 1000px) {
    .ng-web__inner { gap: 32px; }
    .ng-web__title { font-size: clamp(1.8rem, 4.4vw, 2.6rem); }
  }
 
  /* ---------- Mobile: stack (images first, then text) ---------- */
  @media (max-width: 720px) {
    .ng-web { padding: 40px 16px; }
    .ng-web__inner { grid-template-columns: 1fr; gap: 28px; }  /* 1 column */
    .ng-web__stage { max-width: 560px; margin: 0 auto; }       /* composition center me, zyada bada na ho */
    .ng-web__title { font-size: 2rem; }
    .ng-web__cta { display: block; }                           /* wrapper poori width le */
    .ng-web__btn { display: flex; width: 100%; }               /* full-width, easy-tap button */
    .ng-web__cta::before { inset: -8px -10px; }                /* glow screen se bahar na nikle (horizontal scroll na bane) */
    .ng-web__lines path { stroke-width: 2px; }}

    /* *{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;background:#fbfdfd;color:#0c1e2c}
  */
.services{max-width:1240px;margin:0 auto;padding:60px 32px 80px}
 
/* header */
.eyebrows{display:flex;align-items:center;justify-content:center;gap:14px;font-size:13px;font-weight:600;letter-spacing:.2em;color:#0fa597;text-transform:uppercase}
.eyebrows i{display:block;height:1px;width:76px;background:#0fa597;transform:scaleX(0);transition:transform .9s .2s cubic-bezier(.2,.8,.2,1)}
.eyebrows i:first-child{transform-origin:right}
.eyebrows i:last-child{transform-origin:left}
.in .eyebrows i{transform:scaleX(1)}
.reveal-d1{text-align:center;font-size:clamp(30px,4vw,42px);font-weight:700;letter-spacing:-.02em;margin-top:12px;line-height:1.2}
.reveal-d1 em{font-style:normal;color:#0fa597;background:linear-gradient(100deg,#0fa597 30%,#5be0cf 50%,#0fa597 70%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:shine 4s linear infinite}
@keyframes shine{from{background-position:100% 0}to{background-position:-100% 0}}
.sub{max-width:560px;margin:18px auto 0;text-align:center;color:#5f8196;font-size:15.5px;line-height:1.7}
.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}
.in .reveal{opacity:1;transform:none}
.in .reveal.d1{transition-delay:.1s}
.in .reveal.d2{transition-delay:.25s}
 
/* layout: cards left (one column), sticky panel right */
.layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:40px;align-items:start;margin-top:50px}
.list{display:flex;flex-direction:column;gap:22px}
.panel{position:sticky;top:40px}
 
/* cards */
.card{display:flex;gap:22px;align-items:center;background:#ffffff;border:1px solid #e6eef1;border-radius:14px;padding:10px;
  opacity:0;transform:translateY(40px);
  transition:opacity .6s ease,transform .6s cubic-bezier(.2,.8,.2,1),box-shadow .3s,border-color .3s}
.card.show{opacity:1;transform:none}
.card.active{border-color:#0fa597;box-shadow:0 18px 40px -18px rgba(15,165,151,.45)}
.thumb{flex:0 0 190px;height:210px;border-radius:10px;overflow:hidden;background:#e3ecec}
.thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s ease}
.card:hover .thumb img,.card.active .thumb img{transform:scale(1.08)}
.body{padding:6px 12px 6px 0;min-width:0;flex:1}
.ico{width:44px;height:44px;border-radius:10px;background:#e3f6f3;display:grid;place-items:center;color:#0fa597;margin-bottom:14px;transition:transform .4s,background .3s,color .3s}
.ico svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.card:hover .ico,.card.active .ico{background:#0fa597;color:#ffffff;transform:rotate(-8deg) scale(1.08)}
.body h3{font-size:18px;font-weight:700;letter-spacing:-.01em}
.body p{margin:10px 0 14px;font-size:13.5px;line-height:1.75;color:#7a93a3}
.more{font-size:13px;font-weight:600;color:#0fa597;text-decoration:none;display:inline-flex;gap:6px;align-items:center}
.more span{display:inline-block;transition:transform .3s}
.more:hover span,.card:hover .more span{transform:translateX(5px)}
.more:focus-visible,.dot:focus-visible{outline:2px solid #0fa597;outline-offset:3px;border-radius:4px}
 
/* sticky panel */
.box{background:#ffffff;border:1px solid #e6eef1;border-radius:18px;padding:34px 34px 28px;position:relative;overflow:hidden;box-shadow:0 24px 60px -34px rgba(12,30,44,.25)}
.box::before{content:"";position:absolute;right:-70px;top:-70px;width:220px;height:220px;border-radius:50%;background:#e3f6f3;animation:pulse 6s ease-in-out infinite}
@keyframes pulse{0%,100%{transform:scale(1)}50%{transform:scale(1.18)}}
.box>*{position:relative}
.top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.top .ico{margin:0}
.count{font-size:13px;font-weight:700;color:#0fa597;letter-spacing:.1em}
.count span{color:#7a93a3;font-weight:500}
.swap{transition:opacity .3s ease,transform .3s ease}
.swap.out{opacity:0;transform:translateY(12px)}
.box h4{font-size:30px;font-weight:700;letter-spacing:-.02em;line-height:1.2}
.lead{margin-top:14px;font-size:14.5px;line-height:1.8;color:#4d6b7e}
.points{list-style:none;margin:20px 0 22px;display:grid;grid-template-columns:1fr 1fr;gap:12px 18px}
.points li{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;font-weight:600;line-height:1.5}
.points li::before{content:"";flex:0 0 18px;height:18px;margin-top:1px;border-radius:50%;background:#0fa597 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat}
.bar{height:3px;background:#e6eef1;border-radius:3px;overflow:hidden;margin-top:6px}
.bar i{display:block;height:100%;width:12.5%;background:#0fa597;border-radius:3px;transition:width .5s ease}
.dots{display:flex;gap:8px;margin-top:16px}
.dot{width:26px;height:26px;border-radius:50%;border:1px solid #e6eef1;background:#ffffff;color:#7a93a3;font:600 11px 'Plus Jakarta Sans',sans-serif;cursor:pointer;transition:all .3s}
.dot:hover{border-color:#0fa597;color:#0fa597}
.dot.on{background:#0fa597;border-color:#0fa597;color:#ffffff;transform:scale(1.12)}
 
/* responsive */
@media (max-width:960px){
  .layout{grid-template-columns:1fr}
  .panel{position:static;order:2}
}
@media (max-width:560px){
  .services{padding:40px 18px 56px}
  .card{flex-direction:column;align-items:stretch}
  .thumb{flex:none;height:200px}
  .body{padding:4px 8px 8px}
  .points{grid-template-columns:1fr}
  .box{padding:26px 22px}
  .eyebrow i{width:36px}
}
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  .card,.reveal{opacity:1;transform:none}
  .eyebrow i{transform:none}
}

.portfolio-section *,.portfolio-section *::before,.portfolio-section *::after{box-sizing:border-box;margin:0;padding:0}
 
/* heading */
.portfolio-section .ps-head{text-align:center;padding:0 24px;max-width:720px;margin:0 auto}
.portfolio-section .ps-eyebrow{display:flex;align-items:center;justify-content:center;gap:14px;font-size:13px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:#0fa597}
.portfolio-section .ps-eyebrow i{display:block;width:64px;height:1px;background:#0fa597}
.portfolio-section h2{margin-top:12px;font-size:clamp(30px,4vw,42px);font-weight:700;letter-spacing:-.02em;line-height:1.2}
.portfolio-section h2 em{font-style:normal;color:#0fa597}
.portfolio-section .ps-sub{margin-top:14px;font-size:15.5px;line-height:1.7;color:#7a93a3}
 
/* stage: light teal on top, dark ink band behind the lower half (like the reference) */
.portfolio-section .ps-stage{
  position:relative;margin-top:40px;
  background:linear-gradient(to bottom,#fbfdfd 0%,#e3f6f3 46%,#0c1e2c 58%,#0c1e2c 100%);
}
.portfolio-section .ps-viewport{position:relative;overflow:hidden;height:650px}
.portfolio-section .ps-track{
  position:absolute;left:0;top:0;bottom:0;display:flex;align-items:center;gap:var(--gap);
  width:max-content;padding-left:var(--gap);will-change:transform;
}
 
/* card */
.portfolio-section .ps-card{
  position:relative;display:flex;flex-direction:column;justify-content:flex-end;flex:0 0 var(--w);width:var(--w);height:420px;
  background:#ffffff;border:1px solid #e6eef1;border-radius:28px;overflow:hidden;
  text-decoration:none;color:#0c1e2c;
  box-shadow:0 22px 50px -28px rgba(12,30,44,.45);
  opacity:0;transform:translateY(60px);
  transition:transform .6s cubic-bezier(.2,.8,.2,1),box-shadow .4s,border-color .4s,opacity .7s ease;
}
.portfolio-section.ps-in .ps-card{opacity:1;transform:none}
.portfolio-section.ps-in .ps-card:nth-child(1){transition-delay:.05s}
.portfolio-section.ps-in .ps-card:nth-child(2){transition-delay:.15s}
.portfolio-section.ps-in .ps-card:nth-child(3){transition-delay:.25s}
.portfolio-section.ps-in .ps-card:nth-child(4){transition-delay:.35s}
.portfolio-section.ps-in .ps-card:nth-child(5){transition-delay:.45s}
.portfolio-section.ps-in .ps-card:nth-child(n+6){transition-delay:0s}
/* height is driven by JS: smallest in the middle, taller toward the edges (like the reference) */
 
.portfolio-section .ps-card:hover,
.portfolio-section .ps-card:focus-visible{transform:translateY(-10px);border-color:#0fa597;box-shadow:0 30px 60px -26px rgba(15,165,151,.55);transition-delay:0s}
.portfolio-section .ps-card:focus-visible{outline:3px solid #0fa597;outline-offset:4px}
 
.portfolio-section .ps-img{position:absolute;left:0;right:0;top:0;bottom:92px;background:#e3f6f3;overflow:hidden}
.portfolio-section .ps-img img{display:block;width:100%;height:100%;object-fit:cover;object-position:top center;transition:transform .8s ease}
.portfolio-section .ps-img::after{content:"";position:absolute;left:0;right:0;bottom:0;height:90px;background:linear-gradient(to bottom,rgba(255,255,255,0),#ffffff)}
.portfolio-section .ps-card:hover .ps-img img,
.portfolio-section .ps-card:focus-visible .ps-img img{transform:scale(1.07)}
 
.portfolio-section .ps-tag{
  position:absolute;z-index:2;left:18px;top:18px;padding:6px 14px;border-radius:999px;
  background:#e3f6f3;border:1px solid #0fa597;color:#0fa597;font-size:12.5px;font-weight:700;
}
.portfolio-section .ps-info{position:relative;z-index:2;padding:0 24px 26px}
.portfolio-section .ps-info h3{font-size:25px;font-weight:700;letter-spacing:-.02em;line-height:1.2}
.portfolio-section .ps-go{margin-top:12px;display:inline-flex;align-items:center;gap:8px;font-size:15.5px;font-weight:700;color:#0fa597}
.portfolio-section .ps-go span{display:inline-block;transition:transform .3s}
.portfolio-section .ps-card:hover .ps-go span,
.portfolio-section .ps-card:focus-visible .ps-go span{transform:translate(4px,-4px)}
 
/* tablet */
@media (max-width:960px){
  .portfolio-section{--w:270px;--gap:22px}
  .portfolio-section .ps-info h3{font-size:22px}
}
/* mobile */
@media (max-width:560px){
  .portfolio-section{--w:240px;--gap:16px;padding-top:52px}
  .portfolio-section .ps-eyebrow i{width:30px}
  .portfolio-section .ps-card{border-radius:22px}
  .portfolio-section .ps-info{padding:0 18px 20px}
  .portfolio-section .ps-info h3{font-size:20px}
}
/* reduced motion: no auto-scroll, manual swipe instead */
@media (prefers-reduced-motion:reduce){
  .portfolio-section .ps-viewport{overflow-x:auto}
  .portfolio-section .ps-card{opacity:1;transform:none;transition:none}
  .portfolio-section .ps-clone{display:none}
}

.portfolio-section{
  --teal:#0fa597;
  --soft:#e3f6f3;
  --ink:#0c1e2c;
  --muted:#7a93a3;
  --line:#e6eef1;
  --bg:#fbfdfd;
  --card:#ffffff;
  --gap:28px;
  --w:310px;
  position:relative;overflow:hidden;background:#fbfdfd;color:#0c1e2c;
  font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',Arial,sans-serif;
  padding:72px 0 0;
}
.portfolio-section *,.portfolio-section *::before,.portfolio-section *::after{box-sizing:border-box;margin:0;padding:0}