* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  width: 100%;
  min-height: 100vh;
  background: rgb(255, 255, 255);
  font-family: "Public Sans", serif;
  color: black;
  overflow-x: hidden;
}

.who-we-are-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: fit-content;
  font-family: "Public Sans", serif;
  margin: 130px auto;
  margin-bottom: 0px;
  margin-top: 120px;
}

.who-top-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.who-top-text {
  font-size: 68px;
  color: black;
  font-weight: 300;
  letter-spacing: 8px;
  margin-bottom: 10px;
}

.who-top-line {
  width: 1px;
  height: 70px;
  background-color: rgb(0, 0, 0);
}

.who-bottom-line {
  width: 1px;
  height: 60px;
  background-color: white;
  align-self: center;
  justify-self: center;
  z-index: 2;
}

.who-we-are {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  position: relative;
  overflow: visible;
  background-image: url("photos/Leslieville/p1.webp"); /* update the path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 600px;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* lower alpha = brighter */
  z-index: 1;
}

.who-we-are-est {
  width: 150px;
  align-self: center;
  justify-content: center;
  border: 1px solid white;
  padding: 15px;
  z-index: 2;
}
.who-text-container {
  display: flex;
  z-index: 2;
  align-items: center;
  justify-items: center;
  height: 100%;
  color: white;
}
.who-text {
  text-align: center;
  margin: 0px 10vw;
  padding: 10px;
  font-size: 34px;
  line-height: 1.4;
}

.project-header-container {
  width: 100%;
  margin: 0 auto;

  box-sizing: border-box;
  overflow-x: hidden;
  margin-top: 150px;
  position: relative;
  box-shadow: 0px 20px 50px rgb(126, 126, 126);
}

/* Header Section */
.header-slider {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}
.header-image {
  position: relative;
  width: 100%; /* Adjust based on your layout */
  height: auto;
}

.fade-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  transition: opacity 1s ease-in-out;
  filter: brightness(30%);
}

.header-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center center;
}

.header-slider p {
  z-index: 999;
  position: absolute;
  left: 50.3%;
  top: 50%; /* Center it vertically */
  transform: translate(-50%, -50%); /* Adjust position to truly center */
  color: rgb(255, 255, 255);
  font-size: 64px; /* Adjust as needed */
  font-weight: 200;
  padding: 25px;
  border-radius: 5px;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
}

.about-who-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: fit-content;
}
.about-us-title {
  height: 310px;
  display: flex;
  align-items: end;
  justify-content: flex-start;
  box-shadow: 0px 5px 20px rgb(153, 153, 153);
  z-index: 5;
}
.about-us-title span {
  margin: 10px;
  margin-left: 120px;
  letter-spacing: 2.5px;
  color: rgb(3, 3, 3);
  font-size: 54px;
  font-weight: 200;
}

.how-we-work-container {
  background-color: #000;
  color: #fff;
  padding: 80px 10%;
  display: flex;
  justify-content: center;
  padding-top: 40px;
  border-top: 1px solid rgb(122, 122, 122);
  border-bottom: 1px solid rgb(122, 122, 122);
  width: 100%;
  position: relative;
  height: 100%;
}

.how-we-work-content {
  display: flex;
  flex-direction: column;
  gap: 25px; /* space between paragraphs */
  line-height: 1.4;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.how-we-work-title {
  font-size: clamp(26px, 3vw, 48px);
  font-weight: 400;
  margin-bottom: 10px;
  text-align: center;
}

.how-we-work-link {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.how-we-work-content p {
  font-size: 20px;
}

.how-we-work-link:hover {
  opacity: 0.7;
}

/* ✅ Responsive tweaks */
@media (max-width: 700px) {
  .how-we-work-container {
    padding: 60px 6%;
  }
  .how-we-work-content {
    gap: 20px;
  }
  .how-we-work-title {
    font-size: clamp(28px, 5vw, 32px);
  }
  .how-we-work-content p {
    font-size: 17px;
    line-height: 1.5;
  }
}

/* Add-on CSS for the slider (keeps your existing styles intact) */

.how-we-work-slider {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  height: fit-content;
  min-height: 220px; /* prevents jumping when slides have different heights */
}

.how-we-work-slide {
  position: absolute;
  width: 100%;
  inset: 0;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition:
    opacity 550ms ease,
    transform 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.how-we-work-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.how-we-work-slide.is-enter-left {
  transform: translateX(-22px);
}
.how-we-work-slide.is-enter-right {
  transform: translateX(22px);
}

/* Dots (bottom center) */
.how-we-work-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  user-select: none;
}

.how-we-work-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  padding: 0;
  transition:
    transform 200ms ease,
    background 200ms ease,
    border-color 200ms ease;
}

.how-we-work-dot:hover {
  transform: scale(1.15);
}

.how-we-work-dot.is-active {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.85);
}

/* Timer bar (bottom-right, thin, dark/grey track + white fill) */
.how-we-work-timer {
  position: absolute;
  right: 15%;
  bottom: 40px;
  width: 140px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  overflow: hidden;
}

.how-we-work-timer-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.92);
  transform-origin: left center;
  transform: scaleX(0);
}

/* Mobile tweaks */
@media (max-width: 700px) {
  .how-we-work-slider {
    min-height: 400px;
  }
  .how-we-work-timer {
    width: 120px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .how-we-work-slide {
    transition: none;
    transform: none;
  }
}

.corner-stones {
  text-align: center;
  font-size: 44px;
  color: rgb(0, 0, 0);
  align-self: center;
  width: 100%;
  height: fit-content;
  padding: 40px;
  padding-top: 80px;
  padding-bottom: 0px;
  font-weight: 200;
}
.corner-stones-text {
  text-align: center;
  font-size: 24px;
  color: rgb(3, 3, 3);
  align-self: center;
  width: 100%;
  height: fit-content;
  padding: 30px;
  font-weight: 300;
  width: 95%;
}

.image-container {
  width: 100%;
  height: 400px;
  background-image: url("photos/about-us.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.image-info {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.qcs-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  padding: 55px;
  gap: 100px;
  overflow: hidden;
  color: white;
}
.image-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(
    0,
    0,
    0,
    0.6
  ); /* Adjust 0.5 to make it darker/lighter */
  z-index: 1;
}

.image-container > * {
  position: relative;
  z-index: 2; /* Ensures your text/images sit above the overlay */
}

.quality,
.cost,
.schedule {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  width: 33%;
}
.quality span,
.cost span,
.schedule span {
  font-size: 22px;
  line-height: 1.55;
}

.qcs-title {
  font-size: 38px;
  margin-bottom: 30px;
}

.in-the-media-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.media-title {
  color: rgb(255, 255, 255);
  font-size: 68px;

  letter-spacing: 1px;
  text-transform: uppercase;

  font-family: "Public Sans";
}
.media-title span {
  font-family: "Public Sans";
  font-weight: normal;
  font-size: 66px;
}
.in-the-news {
  display: flex;
  flex-direction: column;
  background-color: rgb(0, 0, 0);
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding-bottom: 50px;
  padding-top: 50px;
}
.toronto-star-container,
.globe-container {
  display: flex;
  flex-direction: column;
  width: 90%;
  border: 1px solid gray;
  padding: 50px;
  gap: 50px;
}
.toronto-star-images,
.globe-images {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-evenly;
  gap: 20px;
}

.toronto-star-title-container,
.globe-title-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.toronto-star-title,
.globe-title {
  width: 50%;
  height: auto;
}
@media (max-width: 1200px) {
  .toronto-star-title,
  .globe-title {
    width: 80%;
    height: auto;
  }
}
@media (max-width: 500px) {
  .toronto-star-title,
  .globe-title {
    width: 123%;
    height: auto;
  }
}

.toronto-star-title img,
.globe-title img {
  height: 100%;
  width: 100%;
}

.toronto-image,
.globe-image {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
  flex: 1;
  cursor: pointer;
  max-width: 500px;
  text-decoration: none;
}
.toronto-image span,
.globe-image span {
  max-width: 500px;
  color: rgb(255, 255, 255);
  font-size: 24px;
  line-height: 1.4;
  text-decoration: none;
}
.toronto-image img,
.globe-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
}
.toronto-image:hover span,
.globe-image:hover span {
  text-decoration: underline;
}
.toronto-image:hover img,
.globe-image:hover img {
  filter: brightness(0.9);
}

.tv-container {
  height: fit-content;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 800px;
  padding-bottom: 90px;
  background-color: black;
  color: white;
}
.tv-heading {
  max-width: 800px;
  color: rgb(255, 255, 255);
  text-align: center;
}

.tv-title {
  margin: 50px auto;
}

.tv-title img {
  width: 300px; /* adjust as needed */
  height: auto;
  display: block;
  margin: 0 auto;
}
.tv-heading-text {
  font-size: 26px;
  margin-bottom: 50px;
  text-align: center;
}
.expandables-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: fit-content;
}
.left-expand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.left-expand img {
  width: 100%;
  height: auto;
  max-width: 800px;
  display: block;
}
.right-expand {
  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;
  width: 55%;
}
.episodes {
  display: flex;
  flex-direction: column;
  gap: 35px;
  padding-right: 200px;
  font-size: 22px;
  font-weight: 300;
  margin-top: 50px;
}
b {
  font-weight: 450;
}

.episodes span {
  background-color: rgb(0, 0, 0);
  padding: 8px 15px;
  border-radius: 15px;
  border: 1px solid white;
  color: rgb(224, 224, 224);
}

.where-to-watch {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-right: 200px;
  margin-top: 50px;
  margin-bottom: 20px;
}
.where-to-watch span {
  font-size: 22px;
  text-align: center;
  justify-self: center;
  align-self: center;
  background-color: rgb(0, 0, 0);
  padding: 8px 15px;
  border-radius: 15px;
  border: 1px solid white;
  font-weight: 300;
  color: white;
}
.media-types {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: center;
  justify-content: center;
  margin-top: 15px;
}
.media-types img {
  width: 100px;
  height: auto;
  width: 100%;
}
.youtube {
  background-color: rgb(255, 255, 255);
  border: 2px solid rgb(223, 223, 223);
  border-radius: 30px;
  padding: 9px 40px;
}

.amazon:hover {
  background-color: rgb(206, 206, 206);
  border: 2px solid rgb(0, 174, 255);
}
.youtube:hover {
  background-color: rgb(187, 187, 187);
  border: 2px solid rgb(255, 0, 0);
}
.youtube img {
  width: 85px;
}
.amazon img {
  width: 100px;
}
.amazon {
  background-color: rgb(255, 255, 255);
  border: 2px solid rgb(223, 223, 223);
  border-radius: 30px;
  padding: 11px 35px;
}

@media (max-width: 1300px) {
  .quality span,
  .cost span,
  .schedule span {
    font-size: 19px;
    line-height: 1.55;
  }

  .qcs-title {
    font-size: 30px;
    margin-bottom: 20px;
  }
  .qcs-container {
    gap: 50px;
  }
  .image-container {
    height: 450px;
  }
}
@media (max-width: 1000px) {
  .quality span,
  .cost span,
  .schedule span {
    font-size: 17px;
    line-height: 1.55;
  }
  .qcs-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .toronto-star-images,
  .globe-images {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 50px;
  }

  .who-top-text {
    text-align: center;
  }
  .who-text {
    font-size: clamp(20px, calc(8px + 2vw), 28px);
    margin: 0 10px;
  }
}
@media (max-width: 720px) {
  .step-title {
    font-size: 18px;
    margin-bottom: 4px;
  }
  .step-box {
    width: 95%;
  }

  .step-content {
    padding-left: 10px;
  }

  .step-text {
    font-size: 14px;
    line-height: 1.2;
  }
  .step-label {
    max-width: 90px;
  }
  .how-we-work-text p {
    font-size: 16px;
    width: 80%;
  }
  .who-title {
    margin-top: 15px;
  }
  .about-us-title {
    height: 150px;
  }
  .about-us-title span {
    margin: 0;
    text-align: center;
    width: 100%;
    align-self: center;
  }
  .qcs-container {
    flex-direction: column;
    height: fit-content;
    align-items: center;
    width: 100%;
    padding: 40px 25px;
  }

  .image-container {
    height: fit-content;
    margin-bottom: 0px;
  }
  .quality,
  .cost,
  .schedule {
    width: 80%;
  }
  .about-us-title span {
    font-size: 32px;
  }
  .who-title {
    font-size: 30px;
  }
  .expandables-container {
    flex-direction: column;
  }
  .tv-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .tv-heading-text {
    width: 80%;
    justify-self: center;
  }
  .left-expand,
  .right-expand {
    width: 100%;
  }
  .left-expand img {
    width: 85%;
  }
  .episodes {
    width: 80%;
    justify-self: center;
    padding: 0px;
    text-align: center;
  }
  .where-to-watch {
    width: 90%;
    justify-self: center;
    margin: 0px;
    margin-top: 60px;
    margin-bottom: 40px;
  }
  .tv-heading-text {
    font-size: 18px;
    line-height: 1.3;
  }

  .header-slider p {
    font-size: 50px;
  }
  .who-we-are-container {
    overflow: hidden;
  }

  .media-title {
    text-align: center;
  }
}

@media (max-width: 550px) {
  .step-box {
    height: 215px;
    width: 92%;
  }
  .step-label {
    border-radius: 0px;
  }

  .step-title {
    font-size: 16px;
    margin-bottom: 4px;
  }
  .how-we-work-text {
    margin-bottom: 15px;
  }
  .step-container {
    padding: 25px 0px;
  }
  .amazon img {
    width: 70px;
  }
  .youtube img {
    max-width: 68px;
  }
  .where-to-watch {
    margin-bottom: 0px;
  }
  .media-types {
    margin-top: 15px;
  }
  .corner-stones-text {
    font-size: 22px;
    line-height: 1.4;
  }
  .toronto-star-container,
  .globe-container {
    margin: 0 auto;
  }
  .tv-title img {
    width: 260px;
    margin: 0;
    justify-self: center;
  }
  .who-top-text {
    font-size: 42px;
    width: 94%;
    line-height: 1.3;
  }
  .who-we-are-container {
    margin-top: 100px;
  }
  .qcs-container {
    padding: 30px 15px;
  }
  .media-title,
  .media-title span {
    font-size: 38px;
  }
  .toronto-image span,
  .globe-image span {
    font-size: 22px;
  }
  .episodes span {
    padding: 8px 0px;
    font-size: 18px;
  }
  .who-we-are-container {
    margin-top: 80px;
  }
}

@media (max-width: 380px) {
  .step-text {
    font-size: 13px;
  }
}
