:root {
  --ta-teal: #1f5755;
  --ta-teal-soft: #327878;
  --ta-gold: #cfaf7c;
  --ta-ink: #183b3a;
  --ta-copy: #4b5d5c;
  --ta-cream: #f7f5f0;
}

html,
body {
  margin: 0;
}

body {
  color: var(--ta-copy);
}

/* Shared navigation, footer and CTA */
.nav {
  height: 5.5rem !important;
}

.navbar {
  align-items: center;
  background: var(--ta-gold) !important;
  display: flex !important;
  height: 5.5rem !important;
  justify-content: space-between;
  padding: 0 7vw !important;
  position: fixed !important;
  top: 0;
  width: 100% !important;
}

.navbar img {
  height: 3.4rem !important;
  padding: 0 !important;
  width: auto;
}

.nav-toggle {
  display: none;
}

.topnav {
  align-items: center;
  background: transparent !important;
  display: flex !important;
  gap: clamp(0.75rem, 1.8vw, 2rem);
  left: auto !important;
  padding: 0 !important;
  position: static !important;
  width: auto !important;
}

.topnav a {
  font-size: 1rem !important;
  margin: 0 !important;
  padding: 0.45rem 0 !important;
}

#c {
  margin-left: 0.75rem !important;
  padding: 0.7rem 1rem !important;
}

.cta {
  min-height: 25rem;
  position: relative;
}

.cta img {
  height: 100% !important;
  inset: 0;
  object-fit: cover;
  width: 100% !important;
}

.cta::after {
  background: rgba(21, 68, 67, 0.62);
  content: "";
  inset: 0;
  position: absolute;
}

.cta div {
  max-width: 43rem;
  padding: clamp(3rem, 7vw, 6rem) 9vw !important;
  position: relative;
  width: auto !important;
  z-index: 1;
}

.cta h1 {
  font-size: clamp(2.3rem, 4.5vw, 4rem) !important;
  line-height: 1.1 !important;
}

.footer {
  background: var(--ta-cream);
  gap: 3rem;
  height: auto !important;
  justify-content: space-between;
  margin: 0 !important;
  padding: clamp(3rem, 6vw, 5rem) 9vw;
  width: 100% !important;
}

.footer div {
  margin: 0 !important;
  max-width: 24rem;
  width: auto !important;
}

/* Home */
.home-page .Header img,
.about-page .Header img,
.testimonials-page .Header img,
.career-page .Header img {
  display: block;
  width: 100% !important;
}

.home-page .b {
  padding: clamp(3.5rem, 8vw, 7rem) 7vw !important;
}

.home-page .body,
.about-page .b .body {
  margin: 0 auto !important;
  max-width: 70rem;
  padding: clamp(2rem, 5vw, 4.5rem) !important;
  width: 100% !important;
}

.home-page .body h4,
.about-page .body h4 {
  font-size: clamp(1rem, 1.4vw, 1.2rem) !important;
  line-height: 1.75 !important;
}

.home-page .contact-container {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(23rem, 0.9fr);
  height: auto !important;
  margin: 0 auto;
  max-width: 90rem;
}

.home-page .map-side iframe {
  display: block;
  height: 100% !important;
  min-height: 38rem;
  width: 100% !important;
}

.home-page .form-side {
  margin: 0 !important;
  padding: clamp(3rem, 6vw, 6rem) !important;
}

/* About */
.about-page .b {
  padding: clamp(2rem, 4vw, 4rem) 7vw !important;
}

.about-page .timeline,
.about-page .team {
  max-width: 76rem;
  padding: clamp(4rem, 7vw, 7rem) 7vw !important;
}

.about-page .timeline::after {
  bottom: 8% !important;
  top: 18% !important;
}

.about-page .container {
  width: 44% !important;
}

.about-page .right {
  left: 56% !important;
}

.about-page .body2 {
  margin: 0 !important;
  padding: clamp(4rem, 8vw, 7rem) max(7vw, calc((100% - 55rem) / 2)) !important;
}

.about-page .body3 {
  margin: 0 auto;
  max-width: 76rem;
  padding: clamp(4rem, 7vw, 7rem) 7vw !important;
}

.about-page .body3 img {
  height: auto;
  max-width: 100%;
  width: 100% !important;
}

.about-page .team2 {
  gap: 2rem;
  margin-left: 0 !important;
}

.about-page .team2 div,
.about-page .team2 img {
  width: 100% !important;
}

/* Testimonials and career */
.testimonials-page .body,
.career-page .body {
  margin: 0 !important;
  padding: clamp(4rem, 8vw, 7rem) max(7vw, calc((100% - 62rem) / 2)) !important;
  width: 100% !important;
}

.testimonials-page .testimonial {
  max-width: 42rem;
  width: 100% !important;
}

.testimonials-page .body svg {
  display: block;
  margin: 0 auto 2rem !important;
}

.career-page .gallery {
  padding: clamp(4rem, 7vw, 6rem) 7vw !important;
}

.career-page .gimg,
.career-page .gallery > div {
  display: grid !important;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 76rem;
}

.career-page .gallery [id^="g"] {
  height: auto !important;
  margin: 0 !important;
  width: 100% !important;
}

/* Founder profiles */
.profile-page .body {
  align-items: center;
  display: grid !important;
  gap: clamp(2rem, 7vw, 7rem);
  grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.2fr);
  margin: 0 auto;
  max-width: 76rem;
  padding: clamp(4rem, 8vw, 7rem) 7vw !important;
}

.profile-page .body img {
  height: auto !important;
  max-height: 40rem;
  object-fit: cover;
  width: 100% !important;
}

.profile-page .content {
  margin: 0 !important;
  width: auto !important;
}

.profile-page .body h1 {
  font-size: clamp(2.3rem, 4vw, 4rem) !important;
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  .nav {
    height: auto !important;
  }

  .navbar {
    height: auto !important;
    justify-content: center;
    padding: 0.75rem 1.25rem !important;
    position: relative !important;
  }

  .topnav {
    flex-basis: 100%;
    justify-content: center;
  }

  .home-page .contact-container,
  .profile-page .body {
    grid-template-columns: 1fr;
  }

  .home-page .map-side iframe {
    min-height: 26rem;
  }

  .about-page .team2 {
    flex-wrap: wrap;
  }

  .career-page .gimg,
  .career-page .gallery > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .navbar img {
    height: 3rem !important;
  }

  .topnav {
    display: grid !important;
    gap: 0.65rem 0.85rem;
    grid-template-columns: repeat(3, max-content);
  }

  .topnav a {
    font-size: 0.82rem !important;
    white-space: nowrap;
  }

  #c {
    margin-left: 0 !important;
    padding: 0.5rem 0.7rem !important;
  }

  .home-page .Header img,
  .about-page .Header img,
  .testimonials-page .Header img,
  .career-page .Header img {
    min-height: 11rem;
    object-fit: cover;
  }

  .about-page .timeline::after,
  .about-page .container::after {
    display: none;
  }

  .about-page .container,
  .about-page .right {
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
  }

  .about-page .timeline {
    padding-bottom: 3rem !important;
  }

  .about-page .team2 {
    margin-top: 2rem !important;
  }

  .career-page .gimg,
  .career-page .gallery > div {
    grid-template-columns: 1fr;
  }

  .footer {
    gap: 2rem;
  }
}

/* Services-style visual system for every remaining page. */
.page-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 36%, rgba(255, 252, 247, 0.08) 66%),
    url("../images/services-hero-team.png") center / cover no-repeat;
  display: flex;
  min-height: clamp(31rem, 46vw, 43rem);
  padding: clamp(4rem, 8vw, 8rem) clamp(1.5rem, 8vw, 10rem);
}

.page-hero__content {
  max-width: 39rem;
}

.services-eyebrow {
  color: var(--ta-gold);
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.page-hero h1,
.home-page .body h4,
.about-page .body h4,
.testimonials-page .body h1,
.career-page .body h1,
.profile-page .body h1 {
  color: var(--ta-ink);
  font-family: Georgia, "Times New Roman", serif;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
  line-height: 1.03;
  margin: 0;
}

.page-hero p {
  color: var(--ta-copy);
  font-family: Arial, sans-serif;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  line-height: 1.65;
  margin: 1.5rem 0 0;
  max-width: 35rem;
}

.home-page .Header,
.about-page .Header,
.testimonials-page .Header,
.career-page .Header {
  display: none !important;
}

.home-page .b,
.about-page .b {
  background: white !important;
}

.home-page .body,
.about-page .b .body {
  background: transparent !important;
}

.home-page .body h4,
.about-page .body h4 {
  font-family: Arial, sans-serif;
  font-weight: 400 !important;
  text-align: left !important;
}

.about-page .timeline h1,
.about-page .team h1,
.about-page .body3 h1,
.about-page .body2 h1,
.career-page .gallery h1,
.testimonials-page .body h1,
.career-page .body h1,
.profile-page .body h1 {
  color: var(--ta-ink) !important;
  font-family: Georgia, "Times New Roman", serif !important;
}

.about-page .body2,
.testimonials-page .body,
.career-page .body {
  background: var(--ta-teal) !important;
}

.about-page .body2 h1,
.testimonials-page .body h1,
.career-page .body h1 {
  color: white !important;
}

.about-page .body2 h2,
.about-page .body2 h3,
.testimonials-page .body h2,
.testimonials-page .body h3,
.testimonials-page .body h4,
.career-page .body h2,
.career-page .body ul,
.career-page .body li {
  color: white !important;
}

.about-page .container {
  border-top: 3px solid var(--ta-gold);
  box-shadow: none !important;
}

.about-page .content {
  padding: 1.5rem !important;
}

.about-page .team2 > div {
  background: var(--ta-cream);
  padding-bottom: 2rem;
}

.about-page .team2 h2,
.about-page .team2 h3,
.about-page .team2 a:not([href*=".html"]) {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem;
}

.testimonials-page .testimonial {
  border-top: 3px solid var(--ta-gold);
  padding-top: 2rem;
}

.career-page .gallery {
  background: var(--ta-cream) !important;
}

.career-page .gallery h1 {
  color: var(--ta-ink) !important;
}

.profile-page .body {
  background: white;
}

.profile-page .body h3 {
  color: var(--ta-copy) !important;
  font-family: Arial, sans-serif;
  font-size: 1.08rem !important;
  line-height: 1.8 !important;
}

@media (max-width: 680px) {
  .nav {
    height: 4.75rem !important;
  }

  .navbar {
    align-items: center;
    height: 4.75rem !important;
    justify-content: space-between;
    padding: 0.65rem 1.25rem !important;
    position: fixed !important;
  }

  .page-hero {
    align-items: flex-end;
    background:
      linear-gradient(0deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 44%, rgba(255, 252, 247, 0.25) 100%),
      url("../images/services-hero-team-mobile.png") center top / cover no-repeat;
    min-height: 38rem;
    padding-bottom: 3rem;
    padding-top: 12rem;
  }

  .page-hero h1 {
    font-size: 2rem;
    letter-spacing: -0.01em;
  }

  .page-hero p {
    font-size: 1rem;
    max-width: 21rem;
  }

  .navbar img {
    height: 2.8rem !important;
  }

  .nav-toggle {
    align-items: center;
    background: var(--ta-teal);
    border: 0;
    border-radius: 0.3rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    height: 2.7rem;
    justify-content: center;
    padding: 0;
    width: 2.9rem;
  }

  .nav-toggle span {
    background: white;
    border-radius: 999px;
    display: block;
    height: 0.13rem;
    transition: transform 180ms ease, opacity 180ms ease;
    width: 1.25rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(0.41rem) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-0.41rem) rotate(-45deg);
  }

  .topnav {
    background: var(--ta-gold) !important;
    box-shadow: 0 1rem 1.8rem rgba(24, 59, 58, 0.16);
    display: none !important;
    gap: 0 !important;
    left: 0 !important;
    padding: 0.4rem 1.25rem 1.1rem !important;
    position: absolute !important;
    top: 100%;
    width: 100% !important;
  }

  .topnav.is-open {
    display: grid !important;
  }

  .topnav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.36);
    font-size: 1rem !important;
    padding: 0.85rem 0 !important;
    text-align: left;
    width: 100%;
  }

  .topnav a.active,
  .topnav a:hover {
    border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  }

  #c {
    margin: 0.75rem 0 0 !important;
    padding: 0.7rem 0.85rem !important;
    text-align: center;
    width: max-content;
  }
}

/* Each page receives its own image while retaining the shared Services hero layout. */
.home-page .page-hero {
  background-image: linear-gradient(90deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 36%, rgba(255, 252, 247, 0.08) 66%), url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=2000&q=85");
}

.about-page .page-hero {
  background-image: linear-gradient(90deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 36%, rgba(255, 252, 247, 0.08) 66%), url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=2000&q=85");
}

.testimonials-page .page-hero {
  background-image: linear-gradient(90deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 36%, rgba(255, 252, 247, 0.08) 66%), url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=2000&q=85");
}

.career-page .page-hero {
  background-image: linear-gradient(90deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 36%, rgba(255, 252, 247, 0.08) 66%), url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=2000&q=85");
}

.nidhi-page .page-hero {
  background-image: linear-gradient(90deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 45%, rgba(255, 252, 247, 0.08) 72%), url("../images/nb.jpeg");
}

.vickash-page .page-hero {
  background-image: linear-gradient(90deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 45%, rgba(255, 252, 247, 0.08) 72%), url("../images/vb.jpeg");
}

@media (max-width: 680px) {
  .home-page .page-hero {
    background-image: linear-gradient(0deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 44%, rgba(255, 252, 247, 0.25) 100%), url("https://images.unsplash.com/photo-1521737711867-e3b97375f902?auto=format&fit=crop&w=900&q=85");
  }

  .about-page .page-hero {
    background-image: linear-gradient(0deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 44%, rgba(255, 252, 247, 0.25) 100%), url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=900&q=85");
  }

  .testimonials-page .page-hero {
    background-image: linear-gradient(0deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 44%, rgba(255, 252, 247, 0.25) 100%), url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=900&q=85");
  }

  .career-page .page-hero {
    background-image: linear-gradient(0deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 44%, rgba(255, 252, 247, 0.25) 100%), url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=900&q=85");
  }

  .nidhi-page .page-hero {
    background-image: linear-gradient(0deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 44%, rgba(255, 252, 247, 0.25) 100%), url("../images/nb.jpeg");
  }

  .vickash-page .page-hero {
    background-image: linear-gradient(0deg, rgba(255, 252, 247, 0.98) 0%, rgba(255, 252, 247, 0.9) 44%, rgba(255, 252, 247, 0.25) 100%), url("../images/vb.jpeg");
  }
}
