@import url("https://fonts.cdnfonts.com/css/satoshi");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

body {
  margin: 0;
  padding: 0;
  background-color: #040114;
  color: white;
  font-family: Satoshi, Roboto;
}

h1 {
  font-size: 48px;
  margin: 20px 0;
}

h2 {
  font-size: 32px;
  font-weight: 500;
}

p {
  font-size: 14px;
  font-weight: 350;
}

a {
  color: white;
  text-decoration: none;
}

svg {
  border: 1px solid white;
  padding: 4px;
}

.cover-container {
  background-image: url("../assets/page4/page4-cover1.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.shadow-layer {
  background: linear-gradient(#00000050, #040114);
  height: 100vh;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
}

.navbar .logo {
  width: 160px;
}

.navbar-links {
  display: flex;
  gap: 30px;
  padding-right: 30px;
}

.bar-icon {
  display: none;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background-color: #333;
  transition: all 0.3s ease;
}

.side-menu a {
  display: block;
  padding: 20px;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  color: white;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

.section-1 {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 0 10%;
}

.section-1 div {
  display: flex;
  gap: 5%;
  width: 70%;
}

.section-2 {
  background-image: url("../assets/page4/page4-cover2.png");
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 5%;
  border-radius: 30px;
}

.section-2-shadow-layer {
  background: linear-gradient(to right, #020514 -8%, rgba(2, 5, 20, 0) 100%);

  padding: 7% 5%;
}

.section-2 p {
  width: 50%;
}

.section-3 {
  padding: 12px 7%;
}

.project-objectives {
  margin-top: 80px;
  margin-bottom: 50px;
  display: grid;
  grid-template-columns: 2fr 2fr;
  column-gap: 12px;
  align-items: flex-end;
}

.left-objective {
  min-height: 120px;
  padding: 25px 60px 25px 40px;
  display: flex;
  gap: 30px;
  align-items: center;

  position: relative;
  border: 2px solid transparent;
  border-radius: 30px;
  background-color: #070b1f;
  background-clip: padding-box;
}

.left-objective::after {
  min-height: 120px;
  padding: 25px 60px 25px 40px;
  display: flex;
  gap: 30px;
  align-items: center;

  position: absolute;
  top: -2px;
  bottom: -2px;
  left: -2px;
  right: -2px;
  background: linear-gradient(
    274.19deg,
    #089fd1 0.9%,
    rgba(4, 81, 107, 0) 98.04%
  );
  content: "";
  z-index: -1;
  border-radius: 30px;
}

.right-objective {
  min-height: 120px;
  padding: 25px 60px 25px 40px;
  display: flex;
  gap: 30px;
  align-items: center;

  position: relative;
  border: 2px solid transparent;
  border-radius: 30px;
  background-color: #070b1f;
  background-clip: padding-box;
}

.right-objective::after {
  min-height: 120px;
  padding: 25px 60px 25px 40px;
  display: flex;
  gap: 30px;
  align-items: center;

  position: absolute;
  top: -2px;
  bottom: -2px;
  left: -2px;
  right: -2px;
  background: linear-gradient(
    274.19deg,
    rgba(4, 81, 107, 0) 0.9%,
    #089fd1 98.04%
  );
  content: "";
  z-index: -1;
  border-radius: 30px;
}

/* .project-objective {
  background: #03daed0d;
  min-height: 120px;
  padding: 25px 60px 25px 40px;
  display: flex;
  gap: 30px;
  align-items: center;

  border: 2px solid transparent;
  border-radius: 30px;
  border-image-slice: 1;
}

.left-objective {
  border-image-source: linear-gradient(
    274.19deg,
    #089fd1 0.9%,
    rgba(4, 81, 107, 0) 98.04%
  );
}

.right-objective {
  border-image-source: linear-gradient(
    274.19deg,
    rgba(4, 81, 107, 0) 0.9%,
    #089fd1 98.04%
  );
} */

.project-objective h1 {
  font-size: 100px;
}

.circle {
  width: 19px;
  height: 19px;
  border-radius: 19px;
  background: #089fd1;
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.top-left-circle {
  top: 0;
  left: 0;
}

.bottom-right-circle {
  bottom: 0;
  right: 0;
  transform: translate(50%, 50%);
}

.top-right-circle {
  top: 0;
  right: -20px;
}

.bottom-left-circle {
  bottom: -20px;
  left: 0;
}

.top-circle {
  top: 0;
  right: -20px;
}

.bottom-circle {
  bottom: -20px;
  right: -20px;
}

.right-connector {
  position: relative;
  width: calc(50% + 12px);
  height: 50%;
  border: 2px solid #099fd099;
  border-top-right-radius: 20px;
  border-left-color: transparent;
  border-bottom-color: transparent;
  margin-left: -12px;
}

.left-connector {
  position: relative;
  width: calc(50% + 12px);
  height: 50%;
  justify-self: flex-end;
  border: 2px solid #099fd099;
  border-top-left-radius: 20px;
  border-right-color: transparent;
  border-bottom-color: transparent;
  margin-right: -12px;
}

.phone-connector {
  position: relative;
  width: 50%;
  height: 50px;
  border-right: 2px solid #099fd099;
  display: none;
}

.section-4 {
  padding: 0 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-4 div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.section-4 img {
  width: 50%;
}

.section-5 {
  margin: 50px 0;
  padding: 0 10%;
  display: flex;
  gap: 5%;
}

.section-5 div {
  flex: 1;
}

.section-6 {
  padding: 0 10% 60px 10%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-7 {
  padding: 0 7%;
  display: grid;
  grid-gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

.section-7 div {
  display: flex;
  gap: 60px;
  padding: 26px;
  background-color: #03daed0d;
  border-radius: 30px;
  align-items: center;
}

footer {
  margin-top: 50px;
}

.footer-line-1,
.footer-line-2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
}

.footer-line-1 div,
.footer-line-2 div {
  display: flex;
  justify-content: flex-end;
  flex-flow: wrap;
  gap: 20px;
  padding: 0;
}

.footer-line-2 p {
  color: whitesmoke;
  font-size: 13px;
}

.footer-logo {
  height: 60px;
}

h1 span {
  background-image: linear-gradient(90deg, #099ccf 0%, #00ffff 123.36%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   2025 Project Overview redesign
   ============================================================ */

/* Scroll-reveal animation (driven by IntersectionObserver) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Lead-in paragraph above the numbered objectives */
.objectives-leadin {
  max-width: 820px;
  margin-top: 8px;
}
.objectives-leadin p {
  font-size: 16px;
  line-height: 1.6;
  color: #cfeaf2;
}

/* "Why we're excited — in plain language" */
.section-excited {
  padding: 40px 7% 20px;
}
.section-excited .excited-heading {
  font-size: 36px;
}
.overview-excited-points {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
}
.overview-excited-points li {
  position: relative;
  padding-left: 32px;
  font-size: 15px;
  line-height: 1.55;
  color: #eaf7fb;
}
.overview-excited-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: linear-gradient(135deg, #08f7f6, #099dd0);
  box-shadow: 0 0 12px rgba(8, 247, 246, 0.6);
}

/* Expected-output icon cards: animated + interactive */
.section-7 .impact-card {
  border: 1px solid rgba(8, 247, 246, 0.12);
  transition: transform 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease, opacity 0.7s ease;
}
.section-7 .impact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(8, 247, 246, 0.4);
  box-shadow: 0 20px 50px -22px rgba(9, 157, 208, 0.55);
}
.section-7 .impact-card img {
  transition: transform 0.3s ease;
}
.section-7 .impact-card:hover img {
  transform: scale(1.08);
}

@media (max-width: 750px) {
  .overview-excited-points {
    grid-template-columns: 1fr;
  }
  .section-excited .excited-heading {
    font-size: 28px;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .cover-container {
    background-position: center;
  }

  .navbar-links a {
    display: none;
  }

  .bar-icon {
    display: block;
  }
}

@media (max-width: 750px) {
  h1 {
    text-align: center;
  }

  .section-1 div {
    width: 100%;
    flex-direction: column;
    justify-content: end;
    align-items: center;
  }

  .section-2-shadow-layer {
    padding-top: 150px;
    background: linear-gradient(to right, #020514 -8%, rgba(2, 5, 20, 0) 100%);
  }

  .section-2 p {
    width: 100%;
  }

  /* Section - 3 */
  .project-objectives {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .project-objective {
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 40px;
    align-items: flex-start;
  }

  .project-objective h1 {
    font-size: 70px;
  }

  .project-objective p {
    margin-top: -20px;
  }

  .left-connector,
  .right-connector {
    display: none;
  }

  .phone-connector {
    display: block;
  }

  .section-4 {
    flex-direction: column-reverse;
  }

  .section-5 {
    flex-direction: column;
  }

  .section-7 {
    grid-template-columns: 1fr;
  }

  .section-4 img {
    width: 100%;
  }

  footer a {
    font-size: 12px;
  }

  footer p {
    font-size: 11px;
  }
}

@media (max-width: 530px) {
  .navbar-links a {
    display: none;
  }

  .bar-icon {
    display: block;
  }
}
