/* ==========================================================================
   MMA India — Global Stylesheet
   Reusable across landing page + inner pages.
   Structure: 1) Fonts  2) Tokens  3) Reset  4) Base  5) Layout utilities
              6) Components  7) Page sections  8) Media queries
   ========================================================================== */

/* 1) FONTS ---------------------------------------------------------------
  font-family: 'shneregular';

/* 2) DESIGN TOKENS --------------------------------------------------------- */

:root {
  /* Typography */
  --font-sohne: 'shneregular', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-tiempos: 'tiempos_text_regularregular', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-shnehalbfett: 'shnehalbfett', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-shneleicht: 'shneleicht', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --fw-light: 300;    /* Söhne Leicht */
  --fw-regular: 400;  /* Söhne Buch */
  --fw-semibold: 600; /* Söhne Kräftig */
  --fw-bold: 800;     /* Söhne Halbfett */

  /* Color — brand */
  --color-orange: #FFA400;       /* primary brand orange */
  --color-orange-deep: #FFA403;  /* slash accents, tags, links */
  --color-orange-light: #FFBB4E; /* gradient / hover tints */
  --color-black: #171614;        /* headings, logo, primary text */

  /* Color — neutrals */
  --color-white: #FFFFFF;
  --color-bg-page: #FFFFFF;
  --color-bg-muted: #fbfbfb;     /* hero band */
  --color-bg-cream: #F3ECE2;     /* use-cases band */
  --color-bg-testimonial: #F0F0EF;
  --color-text-body: #5B5B58;
  --color-text-muted: #86847E;
  --color-border: #E9E6DF;
  --color-card-shadow: rgba(23, 22, 20, 0.06);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 25px;
  --radius-pill: 999px;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Layout */
  --container-max: 1440px;
  --container-pad: 40px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 180ms;
  --dur-med: 400ms;
  --dur-slide: 900ms;
  --reveal-duration: 700ms;
  --reveal-ease: cubic-bezier(0.16, 0.84, 0.44, 1);
}

/* 3) RESET ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
}

ul, ol { list-style: none; padding: 0; }

img, picture, svg { display: block; max-width: 100%; }

button, input, textarea, select { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: none; }

a { color: inherit; text-decoration: none; }

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-orange-deep);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* 4) BASE -------------------------------------------------------------------- */

body {
  font-family: var(--font-sohne);
  font-weight: var(--fw-regular);
  color: var(--color-text-body);
  background: var(--color-bg-page);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-shnehalbfett);
  color: var(--color-black);
  line-height: 1.12;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 4vw, 4.25rem); }
/* h2 { font-size: clamp(1.8rem, 2.6vw, 2.2rem); } */
h2 { font-size: 40px; }
h3 { font-size: 1.25rem; }

p { max-width: 62ch; }

/* 5) LAYOUT UTILITIES ---------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section { padding-block: var(--space-7); }
.section--tight { padding-block: var(--space-8); }

.eyebrow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--fw-semibold);
  color: var(--color-orange-deep);
}

.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;
}

/* slash accent used throughout the brand system */
.slash {
  display: inline-block;
  color: var(--color-orange-deep);
  font-weight: var(--fw-bold);
  transform: skewX(-5deg);
}

/* 5b) SCROLL-REVEAL ANIMATION SYSTEM ---------------------------------------
   Lightweight animate.css-style entrance animations. Add `.reveal` to any
   element and it fades/rises into place the first time it enters the
   viewport (see script.js → initScrollReveal). Siblings under the same
   parent auto-stagger. Variants: .reveal--fade (opacity only, no rise),
   .reveal--down (drops in from above — used for the header). */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--reveal-duration) var(--reveal-ease),
              transform var(--reveal-duration) var(--reveal-ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal--fade { transform: none; }

.reveal--down { transform: translateY(-18px); }
.reveal--down.is-visible { transform: none; }

/* 6) COMPONENTS ----------------------------------------------------------- */

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: var(--fw-semibold);
  font-size: 0.95rem;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}

.btn--primary {
  background: var(--color-black);
  color: var(--color-white);
}
.btn--primary:hover { background: #000; transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--color-black);
  color: var(--color-black);
}
.btn--outline:hover { background: var(--color-black); color: var(--color-white); }

/* --- Site header --- */
.site-header {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 40;
}
.site-header.reveal { transition-duration: 500ms; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
}

.logo {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1;
}
.logo img{
  width: 100%;
  height: 80px;
}

.logo__mark {
  font-size: 1.9rem;
  font-weight: var(--fw-bold);
  color: var(--color-black);
  letter-spacing: -0.02em;
}

.logo__text {
  display: flex;
  flex-direction: column;
  padding-top: 4px;
}

.logo__title { font-size: 0.78rem; font-weight: var(--fw-semibold); color: var(--color-black); }
.logo__sub { font-size: 0.95rem; font-weight: var(--fw-bold); color: var(--color-black); }

.main-nav ul { display: flex; gap: var(--space-6); }
.main-nav a {
  font-size: 0.95rem;
  font-weight: var(--fw-regular);
  color: var(--color-black);
  transition: color var(--dur-fast) var(--ease);
}
.main-nav a:hover { color: var(--color-orange-deep); }

.nav-toggle { display: none; }

/* --- Hero / carousel --- */
.hero { background: var(--color-bg-muted); overflow: hidden; }

.hero-slider { position: relative; }

.hero-slider__slides {
  display: grid;
  padding-top: var(--space-4);
}

.hero-slide {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-8);
  opacity: 0;
  transform: translateX(32px);
  transition: opacity var(--dur-slide) var(--ease), transform var(--dur-slide) var(--ease);
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.hero-slide__copy .kicker {
  display: inline-block;
  font-size: clamp(3.5rem, 6vw, 5.6rem);
  font-weight: var(--fw-bold);
  color: var(--color-black);
  line-height: 1;
  letter-spacing: -0.02em;
}
.hero-slide__copy .kicker em {
  font-style: normal;
  color: var(--color-orange);
}

.hero-slide__heading-line2 {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}
.hero-slide__heading-line2 .slash { font-size: 2.2rem; }
.hero-slide__heading-line2 span:last-child {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: var(--fw-bold);
  color: var(--color-black);
}

.hero-slide__tag {
  display: inline-block;
  margin-top: var(--space-4);
  background: var(--color-orange);
  color: var(--color-black);
  font-weight: var(--fw-bold);
  padding: 8px 18px;
  border-radius: 2px;
  font-size: 0.95rem;
}

.hero-slide__desc {
  margin-top: var(--space-5);
  font-weight: var(--fw-semibold);
  color: var(--color-black);
  font-size: 1.05rem;
  max-width: 46ch;
}

.hero-slide__credit {
  margin-top: var(--space-3);
  color: var(--color-orange-deep);
  font-weight: var(--fw-regular);
}

.hero-slide__media {
  
  overflow: hidden;
}
.hero-slide__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 600;
  object-fit: cover;
  background: var(--color-border); /* visible placeholder tone before CMS image loads */
  transform: scale(1);
}
/* Slow continuous zoom on the active slide's image — subtle, non-distracting */
.hero-slide.is-active .hero-slide__media img {
  animation: kenburns 10s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1); }
}

.hero-dots {
  display: flex;
  gap: 6px;
  margin-top: var(--space-1);
  padding-bottom: var(--space-3);
}
.hero-dots button {
  width: 34px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: #D8D6D0;
  transition: background var(--dur-fast) var(--ease), width var(--dur-fast) var(--ease);
}
.hero-dots button.is-active { background: var(--color-orange); width: 46px; }

/* --- Use case cards section --- */
.use-cases { background: var(--color-bg-cream); position: relative; overflow: hidden; }

.use-cases__diagonal {
  position: absolute;
  top: 0; left: 0px;
  width: 40%;
  height: 60%;
  background: linear-gradient(180deg, #FFA31E 0%, #f3ece2 70%, rgba(255, 197, 101, 0) 100%);
  clip-path: polygon(62% 0, 18% 0, -19% 93%, 0% 154%);
  z-index: 0;
}
.use-cases__diagonal2 {
  position: absolute;
  top: 0; right: 0px;
  width: 30%;
  height: 70%;
  background: linear-gradient(180deg, #ffdcaa 0%, #FFA31E 70%, rgba(255, 197, 101, 0) 100%);
  clip-path: polygon(62% 0, 18% 0, -19% 93%, 0% 154%);
  z-index: 0;
}

.use-cases .container { position: relative; z-index: 1; }

.section-heading {
  text-align: center;
  margin-bottom: var(--space-6);
}
.section-heading2 {
  text-align: left;
  margin-bottom: var(--space-6);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}

/* If the last card is alone on its row (odd total), center it */
.card-grid > .use-case-card:nth-last-child(1):nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: 100%;
  max-width: calc(50% - var(--space-5) / 2);
}
.card-grid2 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-5);
    /* max-width: 1200px; */
    margin: 0 auto;
}

.case-card {
    grid-column: span 2;
    width: 100%;
    max-width: none;
}


/* 4 cards = 3 + 1 centered */
.case-card:nth-child(3n + 1):last-child {
    grid-column: 3 / span 2;
}


/* 5 cards = 3 + 2 centered */
.case-card:nth-child(3n + 1):nth-last-child(2) {
    grid-column: 2 / span 2;
}

.case-card:nth-child(3n + 2):last-child {
    grid-column: 4 / span 2;
}
@media (max-width: 991px) {

    .card-grid2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .case-card {
        grid-column: span 1;
    }

    /* Reset desktop centering */
    .case-card:nth-child(3n + 1):last-child,
    .case-card:nth-child(3n + 1):nth-last-child(2),
    .case-card:nth-child(3n + 2):last-child {
        grid-column: auto;
    }
}


@media (max-width: 575px) {

    .card-grid2 {
        grid-template-columns: 1fr;
    }

    .case-card {
        grid-column: auto;
    }
}
.use-case-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: 0 12px 30px var(--color-card-shadow);
}

.use-case-card__title {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 22px;
  margin-bottom: var(--space-3);
}

.use-case-card__desc {
  color: var(--color-text-body);
  margin-bottom: var(--space-5);
  max-width: 60ch;
  font-size: 14px;
}

.use-case-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
}

.use-case-card__tag {
  color: var(--color-orange-deep);
  font-family: var(--font-shnehalbfett);
  font-size: 14px;
}

.use-case-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-shnehalbfett);
  color: var(--color-orange-deep);
  white-space: nowrap;
  font-size: 14px;
}
.use-case-card__link svg { transition: transform var(--dur-fast) var(--ease); }
.use-case-card__link:hover svg { transform: translateX(3px); }

/* --- Lead form --- */
.formcontainer{
  background-color: var(--color-orange-deep);
  padding-top: var(--space-8); padding-bottom: var(--space-9);
  position: relative;
  overflow: hidden;
}
.lead-form-wrap {  text-align: center; position: relative; z-index: 1; }

.lead-form-wrap h2 {
  color: var(--color-black);
  font-size: 40px;
  margin-bottom: var(--space-6);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  text-align: left;
}

.field {
  display: flex;
  flex-direction: column;
}

.field input {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 15px 18px;
  font-size: 0.95rem;
}
.field input::placeholder { color: var(--color-text-muted); }
.field input:focus { border-color: var(--color-orange-deep); }

.lead-form__submit { margin-top: var(--space-5); text-align: center; }

/* --- Testimonials --- */
.testimonials { background: var(--color-white); }

.testimonial-panel {
  background: var(--color-bg-testimonial);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  position: relative;
  overflow: hidden;
}

.testimonial-panel h2 { margin-bottom: var(--space-3); text-align: center; font-size: 40px; }

.testimonial-slider {
  position: relative;
  display: grid; /* all slides will occupy the same grid cell */
}

.testimonial-slide {
  grid-area: 1 / 1;        /* stack every slide in the same row/column */
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-9);
  align-items: start;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.testimonial-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.testimonial-slide__photo {
  position: relative;
}
.testimonial-slide__photo img {
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
}
.testimonial-slide__photo::after {
  content: "";
  position: absolute;
  inset: -10px -10px auto auto;
  bottom: -10px;
  left: -10px;
  border: 3px solid var(--color-orange);
  border-radius: var(--radius-md);
  z-index: -1;
}

.testimonial-slide__quote-mark {
  color: var(--color-orange);
  font-size: 3rem;
  font-weight: var(--fw-bold);
  line-height: 1;
  margin-bottom: var(--space-2);
  text-align: center;
}
.testimonial-slide__quote-mark img{
  text-align: center;
  display: inline;
}

.testimonial-slide__text {
  font-size: 20px;
  color: var(--color-black);
  font-family: var(--font-sohne);
  margin-bottom: var(--space-5);
}

.testimonial-slide__name { font-family: var(--font-shnehalbfett); color: var(--color-black); font-size: 18px; }
.testimonial-slide__role { color: var(--color-text-muted); font-size: 15px; margin-top: 2px; }
.testimonial-slide__logo { margin-top: var(--space-4); height: 28px; }
.testimonial-slide__logo img { height: 50px; width: auto; }
.profile-image {
    width: 254px;
    height: 225px;
    position: relative;
    overflow: hidden;
    
    /* Orange outer shape */
    background: #f5a000;

    /*
       Shape:
       top-left     → top-right
       bottom-right → bottom-left
    */
    clip-path: polygon(
        26% 0%,
        100% 0%,
        77% 97%,
        0 97%
    );
}

/* Image inside the orange shape */
.profile-image img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* Creates the orange border */
    clip-path: polygon(
        25% 0,
        96% 0,
        74% 93%,
        0% 93%
    );

    display: block;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: var(--space-7);
}
.dots button {
  width: 9px; height: 12px;
  border-radius: 50%;
  background: var(--color-orange);;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.dots button.is-active { background: var(--color-black); transform: scale(1); }

/* --- Work carousel --- */
.work { background: var(--color-white); }

.work__heading {
  /* display: flex; */
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  flex-wrap: wrap;
  gap: var(--space-4);
  text-align: center;
}

.work__heading-text h2 { margin-bottom: 4px; }
.work__heading-text .accent { color: var(--color-orange); }

.carousel {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.carousel__track {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 15px;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }

.work-card {
  scroll-snap-align: start;
  flex: 0 0 calc((100% - (2 * var(--space-5))) / 3);
  display: flex;
  flex-direction: column;
  background-color: #fff; border-radius: 0px 0px 25px 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.work-card__media {
  border-radius: 25px 25px 0px 0px;
  overflow: hidden;
  aspect-ratio: 6 / 3;
  margin-bottom: var(--space-4);
}
.work-card__media img { width: 100%; height: 100%; object-fit: cover; }

.work-card__title {
  font-size: 1.05rem;
  margin-bottom: var(--space-2);
  padding: 0px 20px;
  line-height: 23px;
}
.work-card__title a { transition: color var(--dur-fast) var(--ease); }
.work-card__title a:hover { color: var(--color-orange-deep); }

.work-card__desc { font-size: 0.92rem; color: var(--color-text-body);  padding: 7px 20px 20px 20px; }

.carousel__arrow {
  flex: 0 0 auto;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--color-orange);
  color: var(--color-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  box-shadow: 0 6px 16px rgba(23,22,20,0.12);
}
.carousel__arrow:hover { background: var(--color-orange-deep); color: var(--color-white); transform: scale(1.06); }
.carousel__arrow:active { transform: scale(0.96); }
.carousel__arrow:disabled { opacity: 0.3; pointer-events: none; box-shadow: none; }

/* --- Footer --- */
.site-footer { background: var(--color-orange); }

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-6);
  gap: var(--space-5);
  flex-wrap: wrap;
}

.site-footer__brand h2 {
  font-size: 1.15rem;
  color: var(--color-black);
  margin-bottom: 4px;
}
.site-footer__brand p { color: rgba(23,22,20,0.75); font-size: 0.9rem; }

.site-footer nav ul { display: flex; gap: var(--space-6); }
.site-footer nav a { font-weight: var(--fw-semibold); color: var(--color-black); }

/* 7) RESPONSIVE ------------------------------------------------------------
   Breakpoints: 1440 / 1280 / 998 / 768 / 375 */

@media (max-width: 1440px) {
  :root { --container-max: 1240px; }
}

@media (max-width: 1280px) {
  :root { --container-pad: 32px; }
  .hero-slide { gap: var(--space-6); }
}

@media (max-width: 998px) {
  .hero-slide.is-active { grid-template-columns: 1fr; }
  .hero-slide__media { order: -1; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid > .use-case-card:nth-last-child(1):nth-child(odd) { max-width: 100%; }
  .lead-form { grid-template-columns: 1fr 1fr; }
  .work-card { flex-basis: calc((100% - var(--space-5)) / 2); }
  .testimonial-slide { grid-template-columns: 1fr; text-align: center; }
  .testimonial-slide__photo { max-width: 220px; margin-inline: auto; }
  .testimonial-slide__photo::after { display: none; }
  .site-header__inner { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  :root { --container-pad: 24px; --space-9: 64px; --space-8: 40px; }
  h1 { font-size: 2.6rem; }
  .main-nav ul { gap: var(--space-4); }
  .lead-form { grid-template-columns: 1fr; }
  .work-card { flex-basis: 85%; }
  .site-footer__inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .use-cases__diagonal { width: 60%; display: none; }

.testimonial-slide__logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
 .carousel__arrow {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  position: absolute;
  display: none;
}
.carousel__track {
    gap: var(--space-2);
}
.hero-dots {
    margin-top: var(--space-5);
    padding-bottom: var(--space-5);
}
.use-cases__diagonal2 {
            position: absolute;
        top: 0;
        right: -132px;
        width: 80%;
        height: 40%;
        background: linear-gradient(180deg, #ffdcaa 0%, #FFA31E 70%, rgba(255, 197, 101, 0) 100%);
        clip-path: polygon(70% 0, 24% 0, -19% 93%, 0% 154%);
        z-index: 0;
}
.testimonial-slide {
    gap: var(--space-1);
    display: block;
}
.testimonial-slide__content{
  margin-top: 30px;
}
}

@media (max-width: 375px) {
  :root { --container-pad: 18px; }
  .logo__mark { font-size: 1.5rem; }
  .hero-slide__copy .kicker { font-size: 3rem; }
  .work-card { flex-basis: 92%; }
 
}


.case-card {
    width: 100%;
    max-width: 460px;
    background: #FFFFFF;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 45px rgba(23, 22, 20, 0.08);
    border-bottom: 1px solid #FFA400;
  }

  /* --- Logo row (spaces reserved for real logos) --- */
  .case-card__logos {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
  }

  .logo-slot {
    height: 56px;
    display: flex;
    align-items: center;
  }

  .logo-slot img {
    max-height: 56px;
    width: auto;
    display: block;
  }

  /* --- Stat block --- */
  .case-card__stat {
    background: linear-gradient(45deg, #FFA403 0%, #FFBB4E 100%);
    border-radius: 18px;
    padding: 22px 20px;
    margin-bottom: 22px;
    min-height: 150px;
  }



  .case-card__stat-number {
    margin: 0;
    font-size: 2.6rem;
    font-family: var(--font-shnehalbfett);
    font-weight: 800;
    color: var(--color-black);
    line-height: 1.1;
  }

  .case-card__stat-label {
    margin: 4px 0 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-black);
  }

  /* --- Category --- */
  .case-card__category {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--color-black);
  }

  /* --- Meta columns --- */
 .case-card__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 16px;
  position: relative;
}

.case-card__meta::after {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 1px;
  background: var(--color-border);
}
/* When only one meta-col is present: full width, no divider */
.meta-col:only-child {
  grid-column: 1 / -1;
}

.case-card__meta:has(.meta-col:only-child)::after {
  display: none;
}

  .meta-col h4 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: #5F6060;
  }

  .meta-col p {
    margin: 0;
    font-size: 14px;
    color: #5F6060;
    line-height: 1.4;
  }

  /* --- View case study link --- */
  .case-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-orange-end);
    text-decoration: none;
  }

  .case-card__link svg {
    transition: transform 180ms ease;
  }

  .case-card__link:hover svg {
    transform: translateX(3px);
  }



  /* =========================================
   INNER COLLAGE
========================================= */

.innercollage {
    width: 100%;
    background: #ffffff;
    overflow: hidden;
}

.innercollage__container {
    width: 100%;
    max-width: 1440px;
    min-height: 460px;
    margin: 0 auto;
    background-color: #FDFDFD;
    display: flex;
    align-items: center;
    gap: 40px;

    padding: 50px 60px;
}


/* =========================================
   LEFT CONTENT
========================================= */

.innercollage__content {
    flex: 0 0 55%;
    max-width: 580px;
    padding-left: 20px;
}

.innercollage__title {
    margin: 0;

    font-size: clamp(42px, 4vw, 58px);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: -1.5px;

    color: #222222;
}

.innercollage__title span {
    display: block;
    color: #ff9d00;
}


/* Subtitle */

.innercollage__subtitle {
    margin: 22px 0 0;

    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.15;
    font-weight: 700;

    color: #222222;
}

.innercollage__subtitle span {
    color: #ff9d00;
}

.innercollage__subtitle strong {
    color: #ff9d00;
    font-weight: 700;
}


/* Description */

.innercollage__description {
    margin: 2px 0 0;

    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.15;
    font-weight: 700;

    color: #222222;
}


/* =========================================
   RIGHT IMAGE
========================================= */

.innercollage__image {
    flex: 1;
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.innercollage__image img {
    display: block;

    width: 100%;
    max-width: 780px;
    height: auto;

    object-fit: contain;
}

@media (max-width: 991px) {

    .innercollage__container {
        min-height: auto;
        padding: 50px 35px;
        gap: 25px;
    }

    .innercollage__content {
        flex: 0 0 42%;
        padding-left: 0;
    }

    .innercollage__title {
        font-size: 40px;
    }

    .innercollage__subtitle,
    .innercollage__description {
        font-size: 21px;
    }
}

@media (max-width: 767px) {

    .innercollage__container {
        flex-direction: column;
        align-items: stretch;

        padding: 45px 20px 35px;
        gap: 30px;
    }

    .innercollage__content {
        width: 100%;
        max-width: 100%;
        flex: none;
        padding: 0;
    }

    .innercollage__title {
        font-size: clamp(36px, 10vw, 48px);
        line-height: 1.05;
    }

    .innercollage__subtitle {
        margin-top: 18px;
        font-size: 22px;
    }

    .innercollage__description {
        font-size: 22px;
    }

    .innercollage__image {
        width: 100%;
    }

    .innercollage__image img {
        width: 100%;
        max-width: 100%;
    }
    .logo{
      width: 100%;
      margin-bottom: 10px;
    }
    .logo img{
      height: 60px;
      width: auto;
      margin: 0 auto;
      text-align: center;
    }
    .main-nav {
    font-size: 0.85rem;
    text-align: center;

}
}

@media (max-width: 480px) {

    .innercollage__container {
        padding: 35px 16px 25px;
    }

    .innercollage__title {
        font-size: 34px;
    }

    .innercollage__subtitle,
    .innercollage__description {
        font-size: 20px;
    }
}


.site-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.75rem 1rem;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s linear;
}
.site-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.site-modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}
.site-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  max-height: calc(100vh - 3.5rem);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-50px);
  transition: transform 0.25s ease-out;
}
.site-modal.is-open .site-modal__dialog {
  transform: translateY(0);
}
.site-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #dee2e6;
}
.site-modal__header--untitled {
  border-bottom: none;
  justify-content: flex-end;
  padding-bottom: 0.5rem;
}
.site-modal__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #212529;
}
.site-modal__close {
  border: none;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #000;
  opacity: 0.5;
  padding: 0;
  margin-left: 1rem;
}
.site-modal__close:hover {
  opacity: 0.85;
}
.site-modal__body {
  padding: 1.25rem;
  overflow-y: auto;
}
.site-modal__body--iframe {
  padding: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}
.site-modal__body--iframe iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.site-modal__body--image {
  padding: 0;
}
.site-modal__body--image img {
  display: block;
  width: 100%;
  height: auto;
}
body.modal-open {
  overflow: hidden;
}






















/*Nes CSS added from homepage slider and inner pages*/
/* ==========================================================================
   HERO VIDEO BANNER SLIDER COMPONENT
   ========================================================================== */
.hero-banner-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000000;
  user-select: none;
}

.banner-slider-track {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 640; /* Landscape desktop aspect ratio */
  min-height: 280px;
}

.banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.75s ease;
  z-index: 1;
}

.banner-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Video display rules */
.slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

/* Desktop default: show landscape, hide mobile vertical */
.video--desktop {
  display: block;
}

.video--mobile {
  display: none;
}

/* Navigation Arrows */
.slider-nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-black, #171614);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background var(--dur-fast, 180ms) var(--ease, ease), 
              transform var(--dur-fast, 180ms) var(--ease, ease), 
              color var(--dur-fast, 180ms) var(--ease, ease);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.slider-nav-arrow:hover {
  background: var(--color-orange, #FFA400);
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.slider-nav-arrow--prev { left: 24px; }
.slider-nav-arrow--next { right: 24px; }

/* Bottom-Center Control Bar */
.slider-controls-wrap {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px;
  background: rgba(23, 22, 20, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-pill, 999px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Play/Pause Button */
.slider-play-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.18);
  transition: background var(--dur-fast, 180ms) var(--ease, ease), transform var(--dur-fast, 180ms) var(--ease, ease);
}

.slider-play-toggle:hover {
  background: var(--color-orange, #FFA400);
  color: var(--color-black, #171614);
  transform: scale(1.08);
}

/* Progress Bars */
.slider-progress-bars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.progress-segment {
  position: relative;
  width: 56px;
  height: 5px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: background var(--dur-fast, 180ms) ease;
}

.progress-segment:hover {
  background: rgba(255, 255, 255, 0.55);
}

.progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--color-orange, #FFA400);
  border-radius: 999px;
}

.progress-segment.is-completed .progress-bar-fill {
  width: 100%;
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (Vertical Portrait Videos)
   ========================================================================== */
@media (max-width: 768px) {
  /* Toggle visibility to portrait video */
  .video--desktop {
    display: none;
  }

  .video--mobile {
    display: block;
  }

  .banner-slider-track {
    aspect-ratio: 4 / 5; /* Vertical orientation */
    min-height: 480px;
    max-height: 85vh;
  }

  .slider-nav-arrow {
    width: 38px;
    height: 38px;
  }

  .slider-nav-arrow--prev { left: 12px; }
  .slider-nav-arrow--next { right: 12px; }

  .slider-controls-wrap {
    bottom: 16px;
    padding: 6px 14px;
    gap: 10px;
  }

  .slider-play-toggle {
    width: 24px;
    height: 24px;
  }

  .progress-segment {
    width: 36px;
    height: 4px;
  }
}

@media (max-width: 480px) {
  .banner-slider-track {
    aspect-ratio: 9 / 16; /* Taller vertical for standard mobile screens */
    min-height: 520px;
  }

  .progress-segment {
    width: 28px;
  }
}

/* ==========================================================================
   HERO VIDEO BANNER — TEXT OVERLAY STYLES
   ========================================================================== */

.slide-caption-wrap {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.slide-caption-container {
  display: flex;
  align-items: center;
  width: 100%;
}

.slide-caption-content {
  max-width: 580px;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s cubic-bezier(0.16, 0.84, 0.44, 1) 0.2s;
}

/* Entrance animation when slide activates */
.banner-slide.is-active .slide-caption-content {
  opacity: 1;
  transform: translateY(0);
}

.slide-eyebrow {
  display: block;
  font-family: var(--font-sohne, sans-serif);
  font-size: clamp(0.75rem, 0.95vw, 0.9rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #7A7A78;
  margin-bottom: 12px;
}

.slide-heading {
  font-family: var(--font-shnehalbfett, sans-serif);
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #171614;
  margin: 0 0 14px;
}

.highlight-orange {
  color: var(--color-orange-deep, #FFA403);
}

.slide-subheading {
  font-family: var(--font-sohne, sans-serif);
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  font-weight: 500;
  color: #555451;
  margin: 0 0 20px;
  line-height: 1.4;
}

/* Spectrum Badge (AI-Curious -> AI-Confident) */
.spectrum-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  width: auto;
}

.spectrum-label {
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-sohne, sans-serif);
}

.spectrum-label.start {
  color: #171614;
}

.spectrum-label.end {
  color: var(--color-orange-deep, #FFA403);
}

.spectrum-arrow {
  position: relative;
  display: flex;
  align-items: center;
  width: 140px;
}

.spectrum-line {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #D4D2CD 0%, #FFA403 100%);
  border-radius: 2px;
}

.spectrum-head {
  position: absolute;
  right: -2px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #FFA403;
}

/* Pillar Footer Tags */
.slide-pillars {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  font-family: var(--font-sohne, sans-serif);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #171614;
}

.slide-pillars .bullet {
  color: var(--color-orange-deep, #FFA403);
  font-weight: 800;
}

/* --------------------------------------------------------------------------
   Responsive Adjustments for Tablet & Mobile Devices
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .slide-caption-content {
    max-width: 440px;
  }
  .spectrum-arrow {
    width: 100px;
  }
}

@media (max-width: 768px) {
  .slide-caption-wrap {
    align-items: flex-start;
    padding-top: 48px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 45%, rgba(255, 255, 255, 0) 80%);
  }

  .slide-caption-container {
    padding-inline: 20px;
  }

  .slide-caption-content {
    max-width: 100%;
  }

  .slide-heading {
    font-size: clamp(1.85rem, 6.5vw, 2.4rem);
    line-height: 1.12;
  }

  .spectrum-arrow {
    width: 80px;
  }

  .slide-pillars {
    font-size: 0.75rem;
    gap: 6px 8px;
  }
}

@media (max-width: 480px) {
  .slide-caption-wrap {
    padding-top: 36px;
  }

  .slide-eyebrow {
    margin-bottom: 8px;
  }

  .slide-subheading {
    margin-bottom: 14px;
    font-size: 0.92rem;
  }

  .spectrum-badge {
    margin-bottom: 16px;
  }
}













/* ==========================================================================
   INTERNAL PAGE HERO VIDEO BANNER (With Responsive HTML Content Overlay)
   ========================================================================== */
.page-hero-banner {
  position: relative;
  width: 100%;
  background: #ffffff;
  overflow: hidden;
}

.page-hero-banner__wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.page-video-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 580; /* Standard landscape desktop ratio */
  min-height: 380px;
  overflow: hidden;
  background: #fbfbfb;
}

/* Background Videos */
.page-video-box video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  z-index: 1;
}

.inner-video--desktop {
  display: block;
}

.inner-video--mobile {
  display: none;
}

/* HTML Content Overlay Layer */
.page-hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.page-hero-content__inner {
  display: flex;
  align-items: center;
  width: 100%;
}

.page-hero-text {
  max-width: 580px;
  pointer-events: auto;
}

/* Typography styles matching the visual design */
.page-hero-title {
  font-family: var(--font-shnehalbfett, sans-serif);
  font-size: clamp(2.4rem, 3.8vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #555555;
  margin: 0;
}

.page-hero-title__highlight {
  display: block;
  color: var(--color-orange, #FFA400);
}

.page-hero-subtitle {
  font-family: var(--font-sohne, sans-serif);
  font-size: clamp(1.05rem, 1.35vw, 1.4rem);
  font-weight: 600;
  color: #727272;
  margin-top: 18px;
  margin-bottom: 0;
  line-height: 1.35;
}

.page-hero-desc {
  font-family: var(--font-sohne, sans-serif);
  font-size: clamp(1.05rem, 1.35vw, 1.4rem);
  font-weight: 600;
  color: #727272;
  margin-top: 4px;
  margin-bottom: 0;
  line-height: 1.35;
}

/* ==========================================================================
   RESPONSIVENESS (Breakpoints for Tablet & Mobile)
   ========================================================================== */
@media (max-width: 1024px) {
  .page-video-box {
    aspect-ratio: 16 / 7;
    min-height: 340px;
  }

  .page-hero-text {
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  /* Switch to Vertical Orientation Video */
  .inner-video--desktop {
    display: none;
  }

  .inner-video--mobile {
    display: block;
  }

  .page-video-box {
    aspect-ratio: 9 / 16; /* Portrait ratio matching mobile video */
    min-height: 560px;
    max-height: 90vh;
  }

  .page-hero-content {
    align-items: flex-start;
    padding-top: 50px; /* Align headline into top negative space */
  }

  .page-hero-content__inner {
    padding-inline: 24px;
  }

  .page-hero-text {
    max-width: 100%;
  }

  .page-hero-title {
    font-size: clamp(2.2rem, 8vw, 2.9rem);
    line-height: 1.08;
  }

  .page-hero-subtitle {
    font-size: 1.05rem;
    margin-top: 14px;
  }

  .page-hero-desc {
    font-size: 1.05rem;
  }
}

@media (max-width: 420px) {
  .page-hero-content {
    padding-top: 42px;
  }

  .page-hero-title {
    font-size: 2.1rem;
  }

  .page-hero-subtitle,
  .page-hero-desc {
    font-size: 0.95rem;
  }
}


/* ============================================================
   LOGO SLIDER
   ============================================================ */

.logo-slider-section {
  padding: 20px 0;
  background: #fff;
  margin-top: 40px;
}


.logo-slider-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}


.logo-slider-title {
  text-align: center;
  margin: 0 0 30px;
}


/* Main visible area */

.logo-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}


/* Moving track */

.logo-slider__track {
  display: flex;
  width: max-content;
  margin: 0;
  padding: 0;
  gap: 0;
  will-change: transform;
}


/* Individual logo */

.logo-slider__item {
  box-sizing: border-box;

  padding: 0 15px;

  margin: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  flex-shrink: 0;
}


/* Logo image */

.logo-slider__item img {
  display: block;

  width: auto;

  max-width: 100%;

  max-height: 95px;

  height: auto;

  object-fit: contain;

  

  transition:
    filter 0.3s ease,
    opacity 0.3s ease;
}


.logo-slider__item img:hover {
  filter: none;

  opacity: 1;
}


/* ------------------------------------------------------------
   Soft fade on edges
   ------------------------------------------------------------ */

.logo-slider::before,
.logo-slider::after {
  content: "";

  position: absolute;

  top: 0;
  bottom: 0;

  width: 60px;

  z-index: 2;

  pointer-events: none;
}


.logo-slider::before {
  left: 0;

  background:
    linear-gradient(
      to right,
      #fff,
      rgba(255,255,255,0)
    );
}


.logo-slider::after {
  right: 0;

  background:
    linear-gradient(
      to left,
      #fff,
      rgba(255,255,255,0)
    );
}


/* ------------------------------------------------------------
   Tablet
   ------------------------------------------------------------ */

@media (max-width: 991px) {

  .logo-slider__item {
    padding: 0 12px;
  }

}


/* ------------------------------------------------------------
   Mobile
   ------------------------------------------------------------ */

@media (max-width: 767px) {

  .logo-slider-section {
    padding: 40px 0;
  }


  .logo-slider-title {
    margin-bottom: 25px;
  }


  .logo-slider__item {
    padding: 0 10px;
  }


  .logo-slider__item img {
    max-height: 55px;
  }


  .logo-slider::before,
  .logo-slider::after {
    width: 40px;
  }

}


/* ------------------------------------------------------------
   Small mobile
   ------------------------------------------------------------ */

@media (max-width: 479px) {

  .logo-slider-container {
    padding: 0 15px;
  }


  .logo-slider__item {
    padding: 0 8px;
  }


  .logo-slider__item img {
    max-height: 70px;
  }


  .logo-slider::before,
  .logo-slider::after {
    width: 25px;
  }

}
/* ==========================================
   BOARD MEMBERS
========================================== */

.board-members {
    position: relative;
    margin: 75px 10px 40px 0px;
    padding: 64px 24px 40px;

    border: 2px solid #ff9d00;
    border-radius: 8px;

    background: #fff;
}


/* ==========================================
   TITLE
========================================== */

.board-members__title {
    position: absolute;

    top: -30px;
    left: 50%;

    transform: translateX(-50%);

    min-width: 340px;

    padding: 12px 45px;

    background: #ffa000;

    color: #000;

    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;

    text-align: center;

    z-index: 2;
}


/* Create the angled ends of the title */

.board-members__title::before,
.board-members__title::after {
    content: "";

    position: absolute;

    top: 0;

    width: 0;
    height: 0;

    border-top: 28px solid transparent;
    border-bottom: 30px solid transparent;
}


/* Left angled end */

.board-members__title::before {
    left: -18px;

    border-right: 18px solid #ffa000;
}


/* Right angled end */

.board-members__title::after {
    right: -18px;

    border-left: 18px solid #ffa000;
}


@media (max-width: 600px) {
  /* Left angled end */

.board-members__title::before {
    border-right: 0px solid #ffa000;
}


/* Right angled end */

.board-members__title::after {
    right: -18px;
    border-left: 0px solid #ffa000;
}

}