/* ==========================================================================
   KnowledgeNow - Clean CSS (1:1 Match)
   Extracted from Squarespace original
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables - Exact colors from original
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-dark-teal: rgb(73, 89, 89);
  --color-teal-accent: rgb(58, 97, 105);
  --color-teal-link: rgb(34, 114, 119);
  --color-cream: rgb(220, 217, 207);
  --color-warm-beige: rgb(212, 150, 125);
  --color-white: rgb(255, 255, 255);
  --color-black: rgb(0, 0, 0);
  --color-overlay: rgba(0, 0, 0, 0.5);

  --color-mango: #d4967d;

  /* Fonts */
  --font-heading: adonis-web, Georgia, "Times New Roman", serif;
  --font-body: "Pontano Sans", sans-serif;
  --font-button: Almarai, sans-serif;

  /* Sizing */
  --container-width: 1200px;
  --header-height: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16pt;
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.1s linear;
}

a:hover {
  opacity: 0.8;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Typography - Exact sizes from original
   -------------------------------------------------------------------------- */
h1 {
  font-size: 79.936px;
  line-height: 1.02;
  letter-spacing: -1.59872px;
}

h2 {
  font-size: 50pt;
  line-height: 1.2;
  letter-spacing: -0.76px;
}

h3 {
  font-size: 30pt !important;
}

h2.small {
  font-size: 19.456px;
  line-height: 1.11;
  letter-spacing: -0.38912px;
}

p {
  margin-bottom: 1em;
  font-size: 16pt !important;
}

p.large {
  font-size: 22.912px;
  line-height: 1.5;
}

p.small {
  font-size: 14.272px;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 44px;
}

.container--wide {
  max-width: 1400px;
}

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

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  /* position: fixed; */
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  font-family: var(--font-body);
  transition:
    background 0.3s ease-in-out,
    padding 0.14s ease-in-out;
}

.header--dark {
  background-color: var(--color-dark-teal);
}

.header--scrolled {
  background-color: var(--color-dark-teal);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  max-width: 1400px;
  margin: 0 auto;
}

.header__logo img {
  width: auto;
  max-width: 100%;
  max-height: 78px;
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex: 1;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-link {
  color: var(--color-white);
  font-size: 17.728px;
  line-height: 1.3;
  padding: 1.7728px 0;
  display: inline-flex;
  align-items: center;
}

.header__nav-link:has(.header__nested__links) {
  position: relative;
}

.header__nav-link--active {
  background-image: linear-gradient(var(--color-white), var(--color-white));
  background-repeat: repeat-x;
  background-position: 0 calc(100% - 1.7728px);
  background-size: 1px 1px;
}

.header__nested__links {
  display: none;
  position: absolute;
  z-index: 50;
  background-color: var(--color-dark-teal);
  padding: 8px;
}

li:has(.header__nested__links):hover .header__nested__links {
  display: block;
}


.header__cta {
  margin-left: 20px;
}

.header__cta a {
  border: none;
  color: black;
  background-color: var(--color-cream);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-button);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  padding: 15.36px 25.65px;
  border: none;
  cursor: pointer;
  transition: opacity 0.1s linear;
}

.btn:hover {
  opacity: 0.85;
}

.btn--primary {
  background-color: var(--color-cream);
  color: var(--color-black);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
}

.btn--dark {
  background-color: var(--color-dark-teal);
  color: var(--color-white);
}

.btn--outline-dark {
  background-color: var(--color-white);
  color: var(--color-dark-teal);
  border: 2px solid var(--color-dark-teal);
}

/* --------------------------------------------------------------------------
   Page Sections
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10vh 0;
}

.section--dark {
  background-color: var(--color-dark-teal);
  color: var(--color-white);
}

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

.section--dark h1,
.section--dark h2,
.section--dark p {
  color: var(--color-white);
}

.section--white {
  background-color: var(--color-white);
  color: var(--color-black);
}

.section--cream {
  background-color: var(--color-cream);
}

.section--warm {
  background-color: var(--color-warm-beige);
}

.section__content {
  width: 100%;
  max-width: var(--container-width);
  padding: 80px 44px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  padding-top: var(--header-height);
  background-color: var(--color-dark-teal);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  padding: 60px 44px;
  text-align: center;
  width: 100%;
  margin-left: auto;
  position: absolute;
  right: 0;
  height: 100%;
}

.hero__title {
  color: var(--color-white);
  margin-bottom: 24px;
  font-size: 4rem;
}

.hero__subtitle {
  color: var(--color-white);
  font-size: 22.912px;
  line-height: 1.5;
  max-width: 900px;
  margin-bottom: 40px;
  width: 40%;
  width: 100%;
}

.hero__content a {
  margin-top: 20px;
  margin-left: auto;
  background-color: var(--color-cream);
  color: black;
  padding: 24px 48px;
  font-weight: 600;
  margin-right: auto;
}




.home-hero .hero__content {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: end;
  min-height: calc(100vh - var(--header-height));
  padding: 60px 44px;
  text-align: center;
  width: 50%;
  margin-left: auto;
  position: absolute;
  right: 0;
  height: 100%;
}

.home-hero .hero__title {
  color: var(--color-white);
  margin-bottom: 24px;
  font-size: 4rem;
}

.home-hero .hero__subtitle {
  color: var(--color-white);
  font-size: 22.912px;
  line-height: 1.5;
  max-width: 900px;
  margin-bottom: 40px;
  width: 40%;
  margin-left: auto;
}

.home-hero .hero__content a {
  margin-top: 20px;
  margin-left: auto;
  margin-right: 0;
  background-color: var(--color-cream);
  color: black;
  padding: 24px 48px;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .hero__content {
    width: 100%;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__content a {
    width: 100%;
  }

  .hero__subtitle {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Content Sections
   -------------------------------------------------------------------------- */
.content-section {
  padding: 100px 0;
}

.content-section__heading {
  color: var(--color-teal-accent);
  text-align: center;
  margin-bottom: 24px;
}

.content-section__text {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 24px;
}

/* Two column layout */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;

  margin: 0 auto;
  padding: 0 44px;
}

.content-grid--reverse {
  direction: rtl;
}

.content-grid--reverse > * {
  direction: ltr;
}

.content-grid__text {
  padding: 40px 0;
}

.content-grid__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Quote Section
   -------------------------------------------------------------------------- */
.quote-section {
  background-color: var(--color-cream);
  padding: 120px 44px;
  text-align: center;
}

.quote-section__text {
  font-family: var(--font-heading);
  font-size: 38px;
  line-height: 1.3;
  color: black;
  max-width: 900px;
  margin: 0 auto 30px;
}

.quote-section__text strong {
  font-weight: 700;
}

.quote-section__subtext {
  color: black;
  font-size: 17.728px;
  max-width: 700px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Team Section
   -------------------------------------------------------------------------- */
.team-section {
  padding: 100px 0;
  background-color: var(--color-white);
}

.team-section__heading {
  color: var(--color-teal-accent);
  text-align: center;
  margin-bottom: 24px;
}

.team-section__intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;

  margin: 0 auto;
  padding: 0 44px;
}

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

.team-member__image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 16px;
  border-radius: 50%;
}

.team-member__name {
  font-family: var(--font-heading);
  font-size: 19.456px;
  color: var(--color-teal-link);
  margin-bottom: 4px;
}

.team-member__role {
  font-size: 14.272px;
  color: var(--color-black);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: white;
  padding: 60px 0 40px;
  width: 80%;
  margin: auto;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12rem;

  margin: 0 auto;
  padding: 0 44px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__brand p {
  font-size: 14.272px;
  margin: 0;
}

.footer__brand a {
  color: black;
}

.footer__social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer__social a {
  font-size: 20px;
}

.footer__links {
  display: flex;
  gap: 60px;
}

.footer__links-column h4 {
  font-family: var(--font-body);
  font-size: 14.272px;
  font-weight: 400;
  margin-bottom: 16px;
}

.footer__links-column ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__links-column a {
  font-size: 14.272px;
  color: black;
}

.footer__bottom {
  text-align: center;
  padding-top: 40px;
  margin-top: 40px;
}

.footer__bottom p {
  font-size: 14.272px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Mobile Menu
   -------------------------------------------------------------------------- */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  h1 {
    font-size: 48px;
    letter-spacing: -1px;
  }

  h2 {
    font-size: 32px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .header__nav-list {
    display: none;
  }

  .header__cta {
    display: none;
  }

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

  h1 {
    font-size: 36px;
    letter-spacing: -0.5px;
  }

  .hero__subtitle {
    font-size: 18px;
  }

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

  .quote-section__text {
    font-size: 28px;
  }

  .section__content,
  .content-grid,
  .team-grid,
  .footer__inner {
    padding-left: 24px;
    padding-right: 24px;
  }
}

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

  h1 {
    font-size: 28px;
  }

  .quote-section__text {
    font-size: 22px;
  }
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* --------------------------------------------------------------------------
   Policy Pages (Accessibility, Privacy, etc.)
   -------------------------------------------------------------------------- */
.hero--short {
  min-height: 40vh;
}

.hero--short .hero__content {
  min-height: calc(40vh - var(--header-height));
}

.policy-content {
  padding: 60px 0 100px;
}

.policy-content .container {
  max-width: 1300px;
}

.policy-date {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 30px;
}

.policy-content h2 {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 400;
  font-style: italic;
  color: var(--color-teal-accent);
  margin-top: 60px;
  margin-bottom: 24px;
}

.policy-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-black);
  margin-bottom: 24px;
}

.policy-content a {
  color: var(--color-teal-link);
  text-decoration: underline;
}

.policy-content ul {
  margin: 20px 0;
  padding-left: 30px;
  list-style: disc;
}

.policy-content li {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* --------------------------------------------------------------------------
   Advanced eLearning Technology Page
   -------------------------------------------------------------------------- */

/* Hero with background image */
.hero--tall {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--medium {
  min-height: 70vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero--bg-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(73, 89, 89, 0.7);
  z-index: 1;
}

.hero--bg-image .hero__content {
  position: absolute;
  z-index: 2;
}

.hero__content--centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Section height variants */
.section--small {
  padding: 60px 0;
}

.section--medium {
  padding: 100px 0;
}

/* Section heading styles */
.section__heading {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 24px;
}

.section--white .section__heading {
  color: var(--color-black);
}

.section--dark .section__heading {
  color: var(--color-white);
}

.section__heading--highlight {
  font-style: italic;
}

.section__heading--bold {
  font-weight: 700;
}

/* Text utilities */
.text-large {
  font-size: 28.912px;
  line-height: 1.5;
}

.text-white {
  color: var(--color-white);
}

/* Split content layout (image + text side by side) */
.section--white.section--split {
  padding: 80px 0;
}

.split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
  max-width: 1300px;
  margin: 0 auto;
  margin-bottom: 50px;
}

.split-content-left {
  grid-template-columns: 20fr 21fr;
}

.split-content-right {
  grid-template-columns: 21fr 20fr;
}

.split-content__image img {
  /* width: 100%; */
  height: 100%;
  object-fit: cover;
}

.split-content__text h2 {
  color: var(--color-teal-accent);
  margin-bottom: 24px;
}

.split-content__text p {
  margin-bottom: 24px;
}

/* Features Grid */
.section--features {
  padding: 80px 0;
}

.features-grid {
  display: grid;
  gap: 40px 60px;
  max-width: 1400px;
  margin: 0 auto;
}

.features-grid--6 {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.feature-card--text-first {
  flex-direction: column;
}

.feature-card--icon-first .feature-card__icon {
  order: -1;
}

.feature-card__icon {
  margin: 20px 0;
}

.feature-card__icon img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 19.456px;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 16px;
}

.feature-card__description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-white);
  margin: 0;
}

/* Boxed feature card variant */
.feature-card--boxed {
  background: var(--color-cream);
  padding: 30px;
  border-radius: 20px;
}

.feature-card--boxed .feature-card__title {
  color: var(--color-dark-teal);
  text-align: center;
  margin-bottom: 20px;
}

.feature-card__list {
  list-style: disc;
  padding-left: 20px;
  color: var(--color-dark-teal);
  font-size: 15px;
  line-height: 1.8;
}

.feature-card__list li {
  margin-bottom: 8px;
}

/* Responsive for features grid */
@media (max-width: 1024px) {
  .features-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .features-grid--6 {
    grid-template-columns: 1fr;
  }

  .section__heading {
    font-size: 28px;
  }
}

/* --------------------------------------------------------------------------
   Case Study / Work Pages
   -------------------------------------------------------------------------- */

/* Centered section heading */
.section__heading--center {
  text-align: center;
  color: var(--color-teal-accent);
}

.section__subtitle {
  font-size: 18px;
  line-height: 1.6;
  margin-top: 10px;
}

.section__subtitle--center {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section--dark .section__heading--center {
  color: #fff;
}

.section__heading--white {
  color: var(--color-white);
}

.section--dark .section__subtitle {
  color: rgba(255, 255, 255, 0.9);
}

/* Case study content */
.case-study-content {
  max-width: 900px;
  margin: 0 auto;
}

.case-study-content p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.text-highlight {
  font-family: var(--font-heading);
  font-size: 22px;
  font-style: italic;
  margin-bottom: 40px;
}

.text-highlight--center {
  text-align: center;
  color: var(--color-teal-accent);
}

/* Case study gallery */
.case-study-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  align-items: start;
}

.case-study-gallery__item img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
  .case-study-gallery {
    grid-template-columns: 1fr;
    max-width: 800px;
  }
}

/* Asymmetric gallery layout (1 left, 2 stacked right) */
.case-study-gallery--asymmetric {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;

  align-items: start;
}

.case-study-gallery__left img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.case-study-gallery__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.case-study-gallery__right img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .case-study-gallery--asymmetric {
    grid-template-columns: 1fr;
  }
}

/* 4-image gallery grid */
.case-study-gallery--four {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.case-study-gallery--four img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .case-study-gallery--four {
    grid-template-columns: 1fr;
  }
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.testimonial {
  padding: 20px;
}

.testimonial__quote {
  font-size: 16px;
  font-style: normal;
  line-height: 1.7;
  margin: 0 0 20px 0;
  color: var(--color-black);
}

.testimonial__author {
  font-size: 13px;
  font-style: normal;
  color: var(--color-black);
}

.testimonial__author strong {
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

/* Single testimonial (centered) */
.testimonial--single {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

/* Testimonial cards */
.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
}

/* Light testimonial cards for cream/white backgrounds */
.testimonials-grid--light .testimonial-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.testimonials-grid--light .testimonial-card__text {
  color: var(--color-dark-teal);
}

.testimonials-grid--light .testimonial-card__cite {
  color: var(--color-dark-teal);
}

.section__heading--dark {
  color: var(--color-dark-teal);
}

.testimonial-card__text {
  font-size: 16px;
  font-style: italic;
  line-height: 1.7;
  color: var(--color-white);
  margin-bottom: 20px;
}

.testimonial-card__cite {
  font-size: 14px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
}

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

@media (max-width: 640px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

.testimonial--single .testimonial__quote {
  font-size: 18px;
  line-height: 1.8;
}

.testimonial--single .testimonial__quote p {
  margin: 0;
}

/* CTA Section */
.section--cta {
  padding: 100px 0;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content__heading {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 20px;
}

.cta-content__text {
  font-size: 20px;
  color: var(--color-white);
  margin-bottom: 30px;
}

/* Outline light button */
.btn--outline-light {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn--outline-light:hover {
  background-color: var(--color-white);
  color: var(--color-dark-teal);
}

/* Section light variant */
.section--light {
  background-color: var(--color-light-bg);
}

/* --------------------------------------------------------------------------
   Logo Grid
   -------------------------------------------------------------------------- */

.logo-grid {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 24px;
  overflow: auto;
  margin: 0 auto;
  width: 100%;
  margin-top: 52px;
}

.logo-grid img {
  max-height: 50px;
  width: auto;
  /* filter: invert(1) brightness(0.3); */
  opacity: 1;
  transition: all 0.2s ease;
}

/* --------------------------------------------------------------------------
   Blog Grid
   -------------------------------------------------------------------------- */

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

.blog-card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-card__link {
  display: block;
  text-decoration: none;
}

.blog-card__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-dark-teal);
  padding: 20px;
  margin: 0;
}

.blog-card__cta {
  display: block;
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--color-teal-link);
}

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

@media (max-width: 640px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* Blog Listing (full page) */
.blog-listing {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.blog-card--large {
  display: flex;
  flex-direction: row;
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-card--large .blog-card__link {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.blog-card--large .blog-card__image {
  width: 300px;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.blog-card--large .blog-card__content {
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
}

.blog-card__category {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-teal-accent);
  margin-bottom: 10px;
}

.blog-card--large .blog-card__title {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 10px;
  padding: 0;
}

.blog-card__meta {
  font-size: 13px !important;
  color: #666;
  margin-bottom: 12px;
}

.blog-card__excerpt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-dark-teal);
  margin-bottom: 15px;
  flex-grow: 1;
}

.blog-card--large .blog-card__cta {
  padding: 0;
  margin-top: auto;
}

@media (max-width: 768px) {
  .blog-card--large,
  .blog-card--large .blog-card__link {
    flex-direction: column;
  }

  .blog-card--large .blog-card__image {
    width: 100%;
    height: 200px;
  }
}

/* --------------------------------------------------------------------------
   Services Grid Four Columns
   -------------------------------------------------------------------------- */

.services-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .services-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid--four {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Project Specifications Grid
   -------------------------------------------------------------------------- */

.specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;

  margin: 0 auto;
  text-align: center;
}

.specs-item__title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: var(--color-teal-accent);
  margin-bottom: 12px;
}

.specs-item__value {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black);
  margin: 0 0 8px 0;
}

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

@media (max-width: 480px) {
  .specs-grid {
    grid-template-columns: 1fr;
  }
}

/* CTA with multiple buttons */
.cta-buttons {
  display: flex;
  gap: 60px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button-group {
  text-align: center;
}

.cta-button-group .cta-content__text {
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   Services Grid
   -------------------------------------------------------------------------- */

.services-grid {
  display: grid;
  gap: 30px;

  margin: 0 auto;
}

.services-grid--three {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  text-align: center;
  padding: 30px 20px;
}

.service-card--with-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card__icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

/* Larger icons for Who We Serve section with teal circular background */
.services-grid--four .service-card__icon {
  width: 120px;
  height: 120px;
  box-sizing: border-box;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 15px;
}

.service-card__description {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Light variant for service cards */
.service-card--light .service-card__title {
  color: var(--color-dark-teal);
}

.service-card--light .service-card__title a {
  color: var(--color-teal-link);
}

.service-card--light .service-card__description {
  color: var(--color-dark-teal);
}

.services-grid--three .service-card__icon {
  width: 50%;
  aspect-ratio: 1/1;
  height: unset;
}

@media (max-width: 1024px) {
  .services-grid--three {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid--three {
    grid-template-columns: 1fr;
  }
}

/* Services grid with light background and teal icon circles */
.services-grid--light .service-card__icon {
  width: 80px;
  height: 80px;
  background: var(--color-teal-accent);
  border-radius: 50%;
  padding: 18px;
  box-sizing: border-box;
  margin: 0 auto 20px;
}

.services-grid--light .service-card__title {
  color: var(--color-dark-teal);
  margin-bottom: 10px;
}

.services-grid--light .service-card__title a {
  color: var(--color-dark-teal);
  text-decoration: none;
}

.services-grid--light .service-card__title a:hover {
  text-decoration: underline;
}

.services-grid--light .service-card__description {
  color: var(--color-dark-teal);
  font-size: 14px;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   FAQ Accordion
   -------------------------------------------------------------------------- */

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-dark-teal);
  margin-bottom: 0;
}

.faq-item__question {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  color: var(--color-dark-teal);
  padding: 25px 0;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::after {
  content: "+";
  font-size: 24px;
  font-weight: 300;
  margin-left: 20px;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-item__question::after {
  content: "−";
}

.faq-item__answer {
  padding: 0 0 25px 0;
}

.faq-item__answer p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-black);
  margin: 0;
}

.blog-article .faq-item {
  color: white !important;
  border-bottom: 1px solid white;
}

.blog-article .faq-item__question {
  color: white;
}

/* --------------------------------------------------------------------------
   Gallery Grid
   -------------------------------------------------------------------------- */

.gallery {
  margin: 0 auto;
}

.gallery--grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery--grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

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

@media (max-width: 480px) {
  .gallery--grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Q&A Interview
   -------------------------------------------------------------------------- */

.qa-interview {
  max-width: 900px;
  margin: 0 auto;
}

.qa-item {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(73, 89, 89, 0.2);
}

.qa-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.qa-item__question {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-teal-accent);
  margin-bottom: 15px;
}

.qa-item__answer {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-dark-teal);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Quotes Grid
   -------------------------------------------------------------------------- */

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.quote-card {
  background: var(--color-cream);
  padding: 40px;
  border-radius: 8px;
  margin: 0;
}

.quote-card__text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-dark-teal);
  margin-bottom: 20px;
}

.quote-card__cite {
  font-size: 14px;
  font-style: normal;
  color: var(--color-teal-accent);
}

@media (max-width: 768px) {
  .quotes-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Case Study Stats
   -------------------------------------------------------------------------- */

.case-study-stats {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 40px;
}

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

.stat-item__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 400;
  color: var(--color-teal-accent);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-item__label {
  font-size: 16px;
  color: var(--color-black);
}

.case-study-highlights {
  text-align: center;
  margin-bottom: 40px;
}

.case-study-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.case-study-highlights li {
  font-size: 16px;
  color: var(--color-black);
}

.case-study-highlights li::before {
  content: "✓ ";
  color: var(--color-teal-accent);
}

@media (max-width: 640px) {
  .case-study-stats {
    flex-direction: column;
    gap: 30px;
  }

  .stat-item__number {
    font-size: 48px;
  }

  .case-study-highlights ul {
    flex-direction: column;
    gap: 15px;
  }
}

/* --------------------------------------------------------------------------
   Content Utilities
   -------------------------------------------------------------------------- */

.content-centered {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.text-large {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.cta-centered {
  text-align: center;
  margin-top: 40px;
}

/* --------------------------------------------------------------------------
   Stat Highlight
   -------------------------------------------------------------------------- */

.stat-highlight {
  text-align: center;
  margin: 40px 0;
}

.stat-highlight__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 400;
  color: var(--color-teal-accent);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-highlight__label {
  font-size: 18px;
  color: var(--color-black);
}

/* --------------------------------------------------------------------------
   Process Grid (4-Phase)
   -------------------------------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.process-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
}

.process-item__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 15px;
}

.process-item__list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.process-item__list li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Video Embed
   -------------------------------------------------------------------------- */

.video-embed {
  max-width: 800px;
  margin: 40px auto 0;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --------------------------------------------------------------------------
   Features Grid Variants
   -------------------------------------------------------------------------- */

.features-grid {
  display: grid;
  gap: 40px;

  margin: 0 auto;
}

.features-grid--four {
  grid-template-columns: repeat(4, 1fr);
}

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

.feature-item {
  text-align: center;
}

.feature-item__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-teal-accent);
  margin-bottom: 15px;
}

.feature-item__description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-black);
  margin: 0;
}

@media (max-width: 1024px) {
  .features-grid--four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .features-grid--four,
  .features-grid--two {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Audit Grid
   -------------------------------------------------------------------------- */

.audit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.audit-item__title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 400;
  color: var(--color-teal-accent);
  margin-bottom: 15px;
}

.audit-item ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.audit-item li {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 8px;
  color: var(--color-black);
}

@media (max-width: 768px) {
  .audit-grid {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   Pricing Card
   -------------------------------------------------------------------------- */

.pricing-card {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 50px;
  border-radius: 8px;
  text-align: center;
}

.pricing-card__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  color: var(--color-white);
  margin-bottom: 20px;
}

.pricing-card__price {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 20px;
}

.pricing-card__ideal {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.pricing-card__includes,
.pricing-card__additional {
  text-align: left;
  margin-bottom: 30px;
}

.pricing-card__includes h4,
.pricing-card__additional h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-white);
  margin-bottom: 15px;
}

.pricing-card__includes ul,
.pricing-card__additional ul {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.pricing-card__includes li,
.pricing-card__additional li {
  margin-bottom: 8px;
  font-size: 15px;
}

/* --------------------------------------------------------------------------
   Section Teal Variant
   -------------------------------------------------------------------------- */

.section--teal {
  background-color: var(--color-teal-accent);
}

.section--teal .section__heading--center {
  color: var(--color-white);
}

/* --------------------------------------------------------------------------
   CTA Buttons Inline
   -------------------------------------------------------------------------- */

.cta-buttons--inline {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* other */
.mango {
  color: var(--color-mango) !important;
}

.text-xxl {
  font-size: 4.2rem;
}

.text-xl {
  font-size: 36px !important;
}

.text-l {
  font-size: 24px;
}

.mt-xxl {
  margin-top: 48px;
}

.white {
  color: white !important;
}

.button-cream {
  background-color: var(--color-cream);
  color: black;
  padding: 24px 48px;
  font-weight: 600;
}

.pb-0 {
  padding-bottom: 0 !important;
}

.pt-0 {
  padding-top: 0 !important;
}

.pt-4v {
  padding-top: 4vh;
}

.text-right {
  text-align: right;
}

.ml-auto {
  margin-left: auto;
}

.right {
  float: right;
}

.footer__links-column h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 4px;
}

.footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 1024px) {
  .text-xxl {
    font-size: 2.4rem;
  }
}

.blog a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: var(--color-cream);
}

.blog section a:first-child {
  text-decoration: none;
}





















/* --------------------------------------------------------------------------
   Work Section - Case Studies Grid
   -------------------------------------------------------------------------- */

.work-section {
  padding: 80px 0;
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.case-studies-grid:last-child {
  margin-bottom: 0;
}

.case-study {
  background: var(--color-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.case-study__image {
  aspect-ratio: 1;
  overflow: hidden;
}

.case-study__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px 20px 0 0;
}

.case-study__content {
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.case-study__title {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.3;
  color: var(--color-black);
  margin-bottom: 12px;
}

.case-study__subtitle {
  font-family: var(--font-heading);
  font-size: 18px !important;
  font-weight: 400;
  color: var(--color-teal-link);
  margin-bottom: 16px;
}

.case-study__description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-black);
  margin-bottom: 24px;
  flex-grow: 1;
}

.case-study .btn {
  align-self: center;
  margin-top: auto;
}

@media (max-width: 1024px) {
  .case-studies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .case-studies-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .case-study__title {
    font-size: 22px;
  }

  .case-study__subtitle {
    font-size: 16px;
  }
}


.teal {
  color: var(--color-teal-accent) !important;
}

.teal-dark {
  color: var(--color-dark-teal) !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}