:root {
  /* Add these variables to your existing root */
  --glass-bg: rgba(255, 255, 255, 0.2);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: 5px;
  --highlight-accent: var(--accent-color);
}

.foundational-tech-hero {
  background-image: url("../images/foundational_tech/foundational-tech-hero.webp");
}

.aos-init {
  display: flex;
  justify-content: flex-end;
}

.gcgps {
  display: flex;
  padding: 6.5vw;
  max-width: 1150px;
  margin: 0 auto;
}

.gcgps-text {
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.gcgps-right {
  width: 30%;
  display: flex;
}

.gcgps-text > p:nth-child(2) {
  line-height: 2;
}

.gcgps-right > img:nth-child(1) {
  width: 100%;
  object-fit: contain;
}

/* cg timeline section */
.cg-timeline {
  padding: 6.5vw;
  padding-top: 0;
}

.cg-timeline > h2:nth-child(1) {
  text-align: center;
  margin-bottom: 2rem;
}

.cg-timeline-container {
  display: flex;
  max-width: 1150px;
  margin: 0 auto;
}

.cg-timeline-left {
  width: 50%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cg-timeline-center-line {
  border: 1px solid var(--accent-color);
}

.cg-timeline-right {
  width: 50%;
  padding: 2rem;
}

.cg-timeline-right > ul:nth-child(1) {
  list-style: disc;
  padding-left: 1rem;
}

/* video section */
.gcgps-video {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6.5vw;
  background-color: var(--accent-color);
  color: white;
}

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

.gcgps-video-container {
  width: 100%;
  border-radius: 20px;
  background-color: rgb(187, 187, 187);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  max-width: 1150px;
  margin: 0 auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gcgps-speech-video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.gcgps-video-container:hover {
  transform: scale(1.02);
}

.gcgps-text-container > h2:nth-child(1) {
  margin-bottom: 2rem;
}

/* partnerships section */
.partnerships {
  padding: 6.5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partnership-text-container,
.educators-text-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1150px;
  margin: 0 auto;
}

.partnership-text-container > p:nth-child(2),
.partnership-text-container > p:nth-child(3) {
  text-align: center;
}

.partnership-text-container > h2:nth-child(1) {
  width: 50%;
}

.blender-partnership {
  display: flex;
  border: 1px solid black;
  padding: 4rem;
  border-radius: 20px;
  gap: 2rem;
  background-color: #1e1e1e;
  color: white;
  max-width: 1150px;
  margin: 0 auto;
}

.blender-partnership-text {
  width: 70%;
}

.blender-partnership-img {
  width: 30%;
}

.blender-partnership-img > img:nth-child(1) {
  width: 100%;
}

.partnership-text-container > h2:nth-child(1) {
  margin-bottom: 2rem;
}

.blender-partnership-text > h3:nth-child(1) {
  font-weight: 600;
  font-size: 35px;
  color: var(--accent-color);
}

.blender-partnership-text > p:nth-child(2) {
  line-height: 2;
}

/* partner ship grid */
.partnership-grid-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 70vh;
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1150px;
  margin: 0 auto;
  margin-top: 2rem;
  height: 100%;
}

.partnership-grid-item {
  border-radius: 20px;
  padding: 2rem;
  /* From https://css.glass */
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partnership-grid-item:hover {
  transform: translateY(-5px);
}

div.partnership-grid-item > p:nth-child(1) {
  font-size: 80px;
  text-align: center;
}

.educators {
  background-color: var(--accent-color);
  color: white;
  padding: 6.5vw;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* Educators section base styles */
.educators {
  background-color: var(--accent-color);
  color: white;
  padding: clamp(2rem, 6.5vw, 6rem);
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
}

.educators p {
  margin-bottom: 0;
}

.educators::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(255, 255, 255, 0.1) 100%
  );
  pointer-events: none;
}

.educators-text-container {
  max-width: 1150px;
  margin: 0 auto;
  text-align: center;
  padding: 0 clamp(1rem, 3vw, 2rem);
  position: relative;
}

.educators-text-container h2 {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.5px;
}

.educator {
  display: flex;
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 1150px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: black;
  background: rgba(255, 255, 255, 0.87);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.educator:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-image {
  width: 50%;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 350px;
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

/* Project 1 Img */
div.educator:nth-child(2) > div:nth-child(1) {
  background-image: url("../images/foundational_tech/project1.webp");
}

/* Project 2 Img */
div.educator:nth-child(3) > div:nth-child(2) {
  background-image: url("../images/foundational_tech/project2.webp");
}

/* Project 3 Img */
div.educator:nth-child(4) > div:nth-child(1) {
  background-image: url("../images/foundational_tech/project3.webp");
}

/* Project 4 Img */
div.educator:nth-child(5) > div:nth-child(2) {
  background-image: url("../images/foundational_tech/project4.webp");
}

.project-content-container {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.5rem);
}

.project-content-container h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.project-coordinator {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.project-coordinator-logo {
  width: clamp(30px, 10%, 50px);
  border-radius: 8px;
}

.project-coordinator p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.project-highlight {
  background: rgba(255, 255, 255, 0.15);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  border-left: 4px solid rgba(255, 255, 255, 0.3);
  background-color: var(--accent-color);
  color: white; /*! border-left: 4px solid black; */
}

.project-highlight span {
  color: white;
  font-weight: 600;
}

/* Tablet Styles */
@media (max-width: 1024px) {
  .educator {
    gap: 2rem;
  }

  .project-content-container h3 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
  }

  .project-highlight {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .educators {
    gap: 3rem;
  }

  .educator {
    flex-direction: column;
  }

  .educator:nth-child(odd) {
    flex-direction: column-reverse;
  }

  .project-image,
  .project-content-container {
    width: 100%;
  }

  .project-image {
    min-height: 250px;
  }

  .project-coordinator {
    margin: 0.5rem 0;
  }

  .project-highlight {
    margin-top: 0.5rem;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  .educators {
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .project-image {
    min-height: 200px;
    background-image: url("../images/foundational_tech/project1.webp");
  }

  .project-coordinator {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .project-coordinator-logo {
    width: 40px;
  }

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

@media (width <= 1265px) {
  .foundational-tech-hero {
    background-image: url("../images/main3.webp");
  }

  .hero-inner-content-left > div:nth-child(1) {
    position: inherit;
  }

  .hero-inner-content-left > div:nth-child(2) {
    position: inherit;
  }
}

@media (width <= 900px) {
  .partnership-grid-container {
    display: flex;
    flex-direction: column;
  }
}

@media (width <= 1045px) {
  .gcgps {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    padding-top: 0;
    margin-top: -5rem;
  }

  .gcgps-right {
    align-self: flex-end;
    position: relative;
    bottom: -5rem;
  }

  .gcgps-text {
    width: 95%;
  }
}

@media (width <= 710px) {
  .gcgps-right {
    width: 40%;
  }

  .gcgps-text > p:nth-child(2) {
    margin-bottom: 0;
  }

  .cg-timeline {
    padding: 6.5vw;
  }
}

@media (width <= 495px) {
  .gcgps-right {
    width: 50%;
  }
}

@media (width <= 700px) {
  .cg-timeline {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (width <= 540px) {
  .cg-timeline-container {
    flex-direction: column;
    align-items: center;
  }

  .cg-timeline-left {
    width: 80%;
  }

  .cg-timeline-center-line {
    width: 70%;
  }

  .cg-timeline-right {
    width: 90%;
    display: flex;
  }

  .cg-timeline-right > ul:nth-child(1) {
    display: flex;
    gap: 2rem;
    width: 100%;
  }
}

/* .blender-partnership responsiveness */
@media (width <= 975px) {
  .blender-partnership {
    flex-direction: column;
  }
}

@media (width <= 900px) {
  .blender-partnership-text {
    width: auto;
  }
}

@media (width <= 540px) {
  .blender-partnership-img {
    width: 50%;
  }
}

/* Hero section circles responsiveness */
@media (width <= 890px) {
  .page-title {
    margin-top: 2rem;
  }
}

/* Speech video responsiveness */
@media (width <= 785px) {
}
