/* ============================================================
   SIX SIGMA TALENT — Main Stylesheet
   Colors: #1A1A1A (dark), #EE4723 (orange), #FFFFFF (white)
   Fonts: Space Grotesk (headings), Inter (body)
   ============================================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* --- Skip link (accessibility — hidden visually, visible on focus) --- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.sr-only:focus {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
  white-space: normal;
}

/* --- CSS Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  color: #1A1A1A;
  background-color: #FFFFFF;
  font-size: 16px;
  line-height: 1.6;
}

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

a {
  color: #116DFF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1A1A1A;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.2rem; }

/* Orange label (like "CHALLENGE", "SERVICES") */
.label {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #EE4723;
  display: block;
  margin-bottom: 0.5rem;
}

/* --- Layout Utilities --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section--gray {
  background-color: #F5F7FA;
}

.section--dark {
  background-color: #1A1A1A;
  color: #FFFFFF;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark p {
  color: #FFFFFF;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
  text-decoration: none;
}

.btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  text-decoration: none;
}

.btn--dark {
  background-color: #1A1A1A;
  color: #FFFFFF;
  border: 2px solid #1A1A1A;
}

.btn--white {
  background-color: #FFFFFF;
  color: #1A1A1A;
  border: 2px solid #FFFFFF;
}

.btn--outline {
  background-color: transparent;
  color: #1A1A1A;
  border: 2px solid #1A1A1A;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #1A1A1A;
  border-bottom: none;
  box-shadow: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 2rem;
  max-width: 1300px;
  margin: 0 auto;
}

.nav__logo {
  text-decoration: none;
}

.nav__logo img {
  height: 30px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav__links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.2s;
}

.nav__links a:hover {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}

.nav__links a.active {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav__sep {
  color: rgba(255,255,255,0.3);
  font-weight: 300;
  list-style: none;
}

.nav__lang {
  font-size: 0.95rem;
  font-weight: 500;
  color: #FFFFFF !important;
  border: none;
  padding: 0;
  border-radius: 0;
}

/* Hamburger (mobile) */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #FFFFFF;
  transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #FFFFFF;
  z-index: 999;
  flex-direction: column;
  padding: 2rem;
  gap: 1.5rem;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #1A1A1A;
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid #F0F0F0;
}

.mobile-menu a:hover {
  color: #EE4723;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background-color: #1A1A1A;
  color: #FFFFFF;
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo-img {
  height: 30px;
  width: auto;
  margin-bottom: 1rem;
}

.footer__tagline {
  color: #AAAAAA;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__partner {
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: #888888;
}

.footer__partner a {
  color: #AAAAAA;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__partner a:hover {
  color: #FFFFFF;
}

.footer__heading {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #EE4723;
  margin-bottom: 1.2rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer__links a {
  color: #CCCCCC;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__links a:hover {
  color: #FFFFFF;
  text-decoration: none;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: #CCCCCC;
  font-size: 0.9rem;
  margin-bottom: 0.7rem;
}

.footer__contact-item a {
  color: #CCCCCC;
  text-decoration: none;
}

.footer__contact-item a:hover {
  color: #FFFFFF;
}

.footer__bottom {
  border-top: 1px solid #333333;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copyright {
  color: #888888;
  font-size: 0.85rem;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  color: #888888;
  font-size: 0.85rem;
  text-decoration: none;
}

.footer__legal a:hover {
  color: #FFFFFF;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background-color: #F5F7FA;
  padding: 5rem 0 4rem;
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 720px;
  margin: 0 auto;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ============================================================
   HOMEPAGE — HERO SECTION
   ============================================================ */
.hero {
  padding: 7rem 0 6rem;
  background-color: #EE4723;
}

.hero__inner {
  max-width: 720px;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: #1A1A1A;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(0,0,0,0.72);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 620px;
}

/* ============================================================
   HOMEPAGE — CHALLENGE SECTION
   ============================================================ */
.challenge {
  background-color: #1A1A1A;
  padding: 5rem 0;
}

.challenge__inner {
  max-width: 720px;
}

.challenge .label {
  color: #EE4723;
}

.challenge h2 {
  margin-bottom: 1rem;
  color: #FFFFFF;
}

.challenge p {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ============================================================
   HOMEPAGE — WHAT WE DO SECTION
   ============================================================ */
.what-we-do {
  padding: 5rem 0;
}

.what-we-do__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.what-we-do__text h2 {
  margin-bottom: 1rem;
}

.what-we-do__text p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.75;
}

.what-we-do__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.what-we-do__images img {
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* ============================================================
   HOMEPAGE — SERVICES OVERVIEW SECTION
   ============================================================ */
.services-overview {
  background-color: #F5F7FA;
  padding: 5rem 0;
}

.services-overview__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.services-overview__header h2 {
  margin-bottom: 1rem;
}

.services-overview__header p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
}

.services-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.services-cards--single {
  grid-template-columns: minmax(0, 480px);
  justify-content: center;
}

.service-card {
  background: #FFFFFF;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.service-card__body {
  padding: 2rem;
}

.service-card__body h3 {
  margin-bottom: 0.75rem;
}

.service-card__body p {
  color: #555;
  line-height: 1.7;
}

/* ============================================================
   HOMEPAGE — TEAM / WHY CHOOSE US SECTION
   ============================================================ */
.team-section {
  padding: 5rem 0;
}

.team-section__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.team-section__header h2 {
  margin-bottom: 1rem;
}

.team-section__header p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.75;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.team-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.team-card__photo-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: #CBDCE9;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #888;
}

.team-card__name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1A1A1A;
  margin-bottom: 0.2rem;
}

.team-card__title {
  font-size: 0.85rem;
  color: #EE4723;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-card__bio {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.team-card__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: #116DFF;
  text-decoration: none;
}

.team-card__linkedin:hover {
  text-decoration: underline;
}

/* ============================================================
   HOMEPAGE — CONTACT CTA SECTION
   ============================================================ */
.contact-cta {
  position: relative;
  padding: 7rem 0;
  text-align: center;
  background-color: #1A1A1A;
  background-image: url('../images/cityscape-bg.png');
  background-size: cover;
  background-position: center;
}

.contact-cta__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.contact-cta__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-cta h2 {
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

.contact-cta p {
  color: #DDDDDD;
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}

/* ============================================================
   SERVICES PAGE — TABS
   ============================================================ */
.services-section {
  padding: 4rem 0;
}

.services-section + .services-section {
  border-top: 2px solid #F0F0F0;
}

.services-section__header {
  margin-bottom: 2.5rem;
}

.services-section__header h2 {
  margin-bottom: 0.5rem;
}

.services-section__header p {
  color: #555;
  font-size: 1.05rem;
  max-width: 760px;
}

/* Tab Navigation */
.tabs {
  margin-bottom: 2rem;
}

.tabs__nav {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #E0E0E0;
  margin-bottom: 2.5rem;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  padding: 0.85rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.tab-btn:hover {
  color: #1A1A1A;
}

.tab-btn.active {
  color: #EE4723;
  border-bottom-color: #EE4723;
  font-weight: 600;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Services sub-items */
.service-detail {
  margin-bottom: 3rem;
}

.service-detail h3 {
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #EEEEEE;
}

.service-detail p {
  color: #555;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.service-detail ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: #555;
  line-height: 1.8;
}

.service-detail ul li {
  margin-bottom: 0.3rem;
}

.service-detail__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 1.5rem;
}

.service-detail__item {
  background: #F8F9FB;
  border-radius: 8px;
  padding: 1.5rem;
  border-left: 3px solid #EE4723;
}

.service-detail__item h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.service-detail__item p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.service-detail__item ul {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-page {
  padding: 5rem 0;
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: #555;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-info__icon {
  font-size: 1.2rem;
  margin-top: 0.15rem;
  min-width: 1.4rem;
}

.contact-info__text {
  color: #444;
  line-height: 1.6;
}

.contact-info__text a {
  color: #116DFF;
}

/* Contact Form */
.contact-form {
  background: #F5F7FA;
  border-radius: 12px;
  padding: 2.5rem;
}

.contact-form h3 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #D0D0D0;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #1A1A1A;
  background: #FFFFFF;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #EE4723;
}

.form-group textarea {
  height: 140px;
  resize: vertical;
}

/* ============================================================
   LEGAL PAGES (Terms / Privacy)
   ============================================================ */
.legal-content {
  padding: 5rem 0;
  max-width: 840px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #EEEEEE;
}

.legal-content h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-content p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ============================================================
   RESPONSIVE — TABLET & MOBILE
   ============================================================ */
@media (max-width: 900px) {
  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .what-we-do__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .services-cards {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .contact-page__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-detail__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .hero { padding: 4rem 0; }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .team-card__photo,
  .team-card__photo-placeholder {
    width: 100px;
    height: 100px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .what-we-do__images {
    grid-template-columns: 1fr;
  }
}
