:root {
  --surface: #fbfbf7;
  --paper: #ffffff;
  --ink: #101112;
  --muted: #5b5f66;
  --border: rgba(16, 17, 18, 0.12);
  --accent: #127c6b;
  --accent-ink: #0b3d35;
  --accent-soft: rgba(18, 124, 107, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, Segoe UI,
    Roboto, Arial, Helvetica, sans-serif;
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--accent-soft);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 48px 0;
}

.section-surface {
  background: var(--surface);
}

.section-paper {
  background: var(--paper);
}

.accent-ink {
  color: var(--accent-ink);
}

.muted {
  color: var(--muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 14px 0 0;
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.lead {
  font-size: 18px;
  line-height: 1.75;
  max-width: 58ch;
}

.lead strong {
  color: var(--ink);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 800;
}

.brand-name {
  display: none;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: background 160ms ease, color 160ms ease;
}

.nav-link:hover {
  background: rgba(16, 17, 18, 0.05);
}

.nav-link.is-active {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.menu-btn {
  border: 1px solid var(--border);
  background: var(--paper);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.menu-btn:hover {
  background: rgba(16, 17, 18, 0.05);
}

.nav-mobile {
  border-top: 1px solid var(--border);
  background: var(--paper);
}

.nav-mobile-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 0;
}

.hero {
  display: grid;
  gap: 26px;
  align-items: center;
}

.hero-media {
  border-radius: 28px;
  padding: 12px;
}

.hero-media img {
  border-radius: 22px;
  background: var(--accent-soft);
}

.cta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: opacity 160ms ease, background 160ms ease, border-color 160ms ease;
}

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: var(--paper);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: rgba(16, 17, 18, 0.05);
}

.btn-accent {
  background: var(--accent);
  color: var(--paper);
}

.btn-accent:hover {
  opacity: 0.92;
}

.banner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 22px;
  display: grid;
  gap: 16px;
  align-items: center;
}

.kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.grid-3 {
  display: grid;
  gap: 18px;
}

.card {
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--paper);
  padding: 22px;
}

.card-shadow {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.04);
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--accent-ink);
  font-weight: 700;
}

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

.section-head {
  max-width: 720px;
  margin-bottom: 18px;
}

.logos {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.logo-tile {
  height: 56px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}

.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  background: var(--paper);
  padding: 40px 0 18px;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.footer-title {
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.footer-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-links a {
  display: block;
  color: var(--muted);
  padding: 6px 0;
}

.footer-links a:hover {
  color: var(--ink);
}

.footer-social-icons {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  padding: 6px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}
.footer-social-icon:hover {
  color: var(--ink);
  background: rgba(16, 17, 18, 0.06);
}
.footer-social-icon svg {
  display: block;
}

.footer-bottom {
  margin-top: 24px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

@media (min-width: 640px) {
  .container {
    padding: 0 24px;
  }
  .cta-row {
    flex-direction: row;
    align-items: center;
  }
  .logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .brand-name {
    display: inline;
  }
  .nav-desktop {
    display: flex;
  }
  .menu-btn {
    display: none;
  }
  .nav-mobile {
    display: none !important;
  }
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    padding: 8px 0;
  }
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .banner {
    grid-template-columns: 1fr auto;
    padding: 26px 30px;
  }
  .logos {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .footer-grid {
    grid-template-columns: 1fr 2fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}


/* --- CAST-like header + hero (homepage only) --- */
:root {
  --cast-teal: #2aa6a4;
  --cast-blue: #0a3d78;
  --cast-bg: #ffffff;
  --cast-soft: #f3f3f3;
}

.cast-header {
  background: var(--cast-bg);
  backdrop-filter: none;
}

.cast-header-inner {
  padding: 18px 0;
}

.cast-logo {
  font-weight: 900;
  letter-spacing: -0.02em;
  font-size: 56px;
  line-height: 1;
  color: var(--cast-teal);
}

.cast-nav {
  gap: 18px;
}

.cast-link {
  font-size: 16px;
  font-weight: 700;
  color: var(--cast-blue);
  padding: 8px 6px;
  border-radius: 10px;
}

.cast-link:hover {
  text-decoration: underline;
  background: transparent;
}

.cast-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 14px;
  border: 2px solid var(--cast-blue);
  border-radius: 6px;
  font-weight: 800;
  font-size: 16px;
  color: var(--cast-blue);
}

.cast-cta:hover {
  background: rgba(10, 61, 120, 0.06);
}

.cast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--cast-blue);
}

.cast-hero {
  background: var(--cast-bg);
  padding: 42px 0 50px;
}

.cast-hero-title {
  margin: 0;
  font-size: 72px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-weight: 900;
  color: var(--cast-teal);
  max-width: 1300px;
}

.cast-hero-card {
  margin-top: 26px;
  background: var(--cast-soft);
  border-radius: 12px;
  padding: 30px;
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 32px;
  align-items: center;
}

.cast-hero-image img {
  border-radius: 10px;
  width: 100%;
  height: auto;
}
.cast-hero-text {
  max-width: 640px;
}

.cast-hero-paragraph {
  margin-top: 0;
  font-size: 19px;
  line-height: 1.95;
  color: #36474d;
  letter-spacing: -0.005em;
}

.cast-hero-paragraph + .cast-hero-paragraph {
  margin-top: 20px;
}

/* Slightly larger CTA inside the card to match CAST */
.cast-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--cast-teal);
  color: #fff;
  padding: 14px 22px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 16px;
  text-decoration: none;
}
.cast-hero-cta:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

@media (max-width: 1023px) {
  .cast-logo {
    font-size: 40px;
  }
  .cast-hero-title {
    font-size: 46px;
    line-height: 1.05;
  }
  .cast-hero-card {
    grid-template-columns: 1fr;
  }
}

/* header: remove bottom border and add hide/show transform */
.cast-header {
  border-bottom: none;
  transition: transform 240ms cubic-bezier(.2,.9,.2,1), box-shadow 240ms ease;
  will-change: transform;
  position: sticky;
  top: 0;
  z-index: 60;
}
.cast-header.hidden {
  transform: translateY(-120%);
  box-shadow: none;
}
.cast-header.visible {
  transform: translateY(0);
  box-shadow: 0 8px 20px rgba(16,17,18,0.06);
}

/* enlarge hero title on larger screens for better readability */
@media (min-width: 1200px) {
  .cast-hero-title {
    font-size: 60px;
  }
}

/* feature cards (CAST style) */
.our-work-section-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin: 2rem 0 0.75rem 0;
}
.our-work-section-title:first-of-type {
  margin-top: 28px;
}
.our-work-grid {
  margin-top: 0;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
.work-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 4px 10px;
  border-radius: 6px;
}

.cards-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  margin-top: 18px;
  align-items: stretch;
}
.cast-card {
  border-radius: 10px;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 12px 30px rgba(16,17,18,0.06);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.cast-card-top {
  padding: 34px 22px;
  color: #0b3d35;
  text-align: center;
  font-weight: 800;
  font-size: 20px;
  /* ensure uniform top area height */
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cast-card-body {
  padding: 22px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: 18px;
  /* stretch body so CTA sits at bottom */
  flex: 1 1 auto;
  justify-content: space-between;
}
.cast-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 18px;
}
.cast-card-btn {
  align-self: start;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  color: #062626;
  font-size: 18px;
  /* keep button height consistent */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
}
.cast-yellow { background:#f7c117; color:#0b3d35; }
.cast-orange { background:#ff6124; color:#3a1f12; }
.cast-teal { background:var(--cast-teal); color:#062626; }
.cast-yellow-btn { background:#f7c117; color:#062626; }
.cast-orange-btn { background:#ff6124; color:#fff; }
.cast-teal-btn { background:var(--cast-teal); color:#fff; }

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

/* impact (agency / presence / influence) */
.impact-section {
  padding: 50px 0;
}
.impact-title {
  font-size: 34px;
  font-weight: 800;
  color: #164a54;
  margin: 0 0 22px 0;
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.impact-card {
  background: var(--paper);
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(16,17,18,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.pin-wrapper {
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pin-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
.impact-copy {
  max-width: 360px;
}
.impact-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 18px;
}
.impact-cta {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

@media (max-width: 1023px) {
  .impact-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .impact-cta {
    justify-content: flex-start;
    margin-top: 14px;
  }
  .pin-wrapper {
    width: 160px;
    height: 160px;
  }
}

/* partners logos */
.partners-section {
  padding: 40px 0 56px;
}
.partners-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 18px 0;
  text-align: center;
}
.partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.partner-logo-card {
  min-width: 260px;
  padding: 20px 24px;
  border-radius: 16px;
  border: none;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(16,17,18,0.09);
}
.partner-logo-img {
  max-height: 104px;
  width: auto;
  display: block;
}
.partner-logo-img-wipro {
  max-height: 260px;
  transform: scale(3.6);
  transform-origin: center;
}
.partner-logo-name-azim {
  color: #006666;
}
.partner-logo-name-wipro {
  color: #5c2d91;
}
@media (max-width: 640px) {
  .partners-logos {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .cast-card-top {
    min-height: 110px;
    padding: 28px 18px;
  }
  .cast-card-btn {
    min-height: 48px;
    padding: 12px 16px;
    font-size: 16px;
  }
}


/* hero CTA */
.cast-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cast-teal);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
}
.cast-hero-cta:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* About page (CAST-style sections) */
.about-page {
  padding: 48px 0 64px;
}
.about-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 1rem 0;
}
.about-lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 2.5rem 0;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.about-h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin: 2rem 0 1rem 0;
}
.about-h2:first-of-type {
  margin-top: 0;
}
.about-block {
  margin-bottom: 0.5rem;
}
.about-block p {
  margin: 0 0 1rem 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}
.about-block p:last-child {
  margin-bottom: 0;
}
.text-link-inline {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}
.text-link-inline:hover {
  color: var(--accent-ink);
}
.about-find-more {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}
.about-find-card {
  display: block;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--paper);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.about-find-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.about-find-label {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.about-find-card span:last-child {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Founders section */
.about-founders {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 2rem;
}
.about-founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}
.about-founder-photo {
  width: 280px;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  background: var(--border);
}
.about-founder-photo-sreenath {
  object-position: 35% 25%;
}
.about-founder-info {
  min-width: 0;
}
.about-founder-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.25rem 0;
}
.about-founder-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem 0;
}
.about-founder-desc {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink);
  margin: 0;
}
@media (max-width: 768px) {
  .about-founder-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .about-founder-photo {
    width: 100%;
    max-width: 280px;
    height: 280px;
  }
}

@media (min-width: 640px) {
  .about-find-more {
    grid-template-columns: repeat(3, 1fr);
  }
}

