/* =================== General Styles =================== */
.work{
  .section-bar-2{
    .section-name{
      font-family: "InterBold";
      font-size: 2.5rem;
    }
  }
  
}

.work,
.work-execution {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cstyle%3E .grid-square %7B fill: none%3B stroke: %231a1a1a%3B stroke-width: 1px%3B %7D %3C/style%3E%3C!-- Shape 1: Top Left Cluster --%3E%3Crect class='grid-square' x='0' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='40' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='40' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='120' y='120' width='40' height='40'/%3E%3C!-- Shape 2: Top Right Cluster --%3E%3Crect class='grid-square' x='280' y='0' width='40' height='40'/%3E%3Crect class='grid-square' x='240' y='40' width='40' height='40'/%3E%3Crect class='grid-square' x='240' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='240' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='280' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='320' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='360' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='320' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='360' y='80' width='40' height='40'/%3E%3C!-- Shape 3: Bottom Left --%3E%3Crect class='grid-square' x='40' y='240' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='200' width='40' height='40'/%3E%3Crect class='grid-square' x='120' y='240' width='40' height='40'/%3E%3Crect class='grid-square' x='160' y='200' width='40' height='40'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  background-repeat: repeat;
    background-color: #0d0d0d;
  position: relative;
  z-index: 2;
  color: #ffffff;
  font-family: "InterBold";
  padding: 2rem max(10%, calc((100vw - 1440px) / 2));
}

.section-bar-2 {
  padding-bottom: 2rem;
}

/* =================== Layout for Image and Text =================== */
.work-top-items {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}/* =================== Header Styles =================== */

.top-item-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.header-image {
  flex: 1;
}

.header-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* =================== Brief Styles =================== */
.header-brief {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Typography for Project Details */
/* =================== Typography for Project Details =================== */
.header-brief h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: #ffffff;
}

.header-brief p {
  font-family: "InterBold";
  font-size: 0.85rem;
  color: #b0b0b0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  max-width: 75ch; /* Added for readability on large screens */
}

/* Specific styling for 'The Idea' paragraph */
.header-brief .the-idea p {
  font-size: 0.85rem;
  color: #e0e0e0;
  white-space: pre-line;
}

.header-brief .the-idea div {
  font-size: 0.85rem;
  color: #e0e0e0;
  white-space: pre-line;
}
/* =================== Work Icon Styles =================== */
.work-icon {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.25rem;
}/* =================== Execution Items Styles =================== */

.work-icon img {
  width: 4rem;
}

.execution-items-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.execution-items-top img,
.execution-items-bottom img {
  width: 100%;
  height: auto;
  display: block;
}
/* =================== Bottom Images Styles =================== */
.execution-items-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
}/* =================== Footer Bottom Items Styles =================== */
/* =================== Footer Styles =================== */
.bottom-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.footer-bottom-items-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.25rem;
}
/* =================== Social Styles =================== */
.social {
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
}

.section-title {
  font-weight: bold;
  font-size: 1.1rem;
}

.social-icons {
  display: flex;
  gap: 0.5rem;
}
/* =================== Social Icon Styles =================== */
.social-icons img {
  width: 2rem;
  height: auto;
  display: block;
}

.phone-number {
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  margin-top: 0.625rem;
}

/* =================== Phone Number Styles =================== */
/* Ensure phone number link is not blue on mobile */
.phone-number a {
  color: #ffffff;
  text-decoration: none;
}

.copyright {
  font-size: 0.85rem;
  color: #cccccc;
}

.copyright span {
  text-decoration: underline;
  margin-left: 0.625rem;
  cursor: pointer;
}
/* =================== Footer Bottom Styles =================== */
.footer-bottom {
  background-color: #0d0d0d;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cstyle%3E .grid-square %7B fill: none%3B stroke: %231a1a1a%3B stroke-width: 1px%3B %7D %3C/style%3E%3C!-- Shape 1: Top Left Cluster --%3E%3Crect class='grid-square' x='0' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='40' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='40' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='120' y='120' width='40' height='40'/%3E%3C!-- Shape 2: Top Right Cluster --%3E%3Crect class='grid-square' x='280' y='0' width='40' height='40'/%3E%3Crect class='grid-square' x='240' y='40' width='40' height='40'/%3E%3Crect class='grid-square' x='240' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='240' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='280' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='320' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='360' y='120' width='40' height='40'/%3E%3Crect class='grid-square' x='320' y='80' width='40' height='40'/%3E%3Crect class='grid-square' x='360' y='80' width='40' height='40'/%3E%3C!-- Shape 3: Bottom Left --%3E%3Crect class='grid-square' x='40' y='240' width='40' height='40'/%3E%3Crect class='grid-square' x='80' y='200' width='40' height='40'/%3E%3Crect class='grid-square' x='120' y='240' width='40' height='40'/%3E%3Crect class='grid-square' x='160' y='200' width='40' height='40'/%3E%3C/svg%3E");
  background-size: 400px 400px;
  background-repeat: repeat;
  position: relative;
  z-index: 20;
  color: #ffffff;
  font-family: "InterRegular";
  padding: 2rem max(10%, calc((100vw - 1440px) / 2));
}

.footer-bottom-items-image {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}

.footer-bottom-items-image img {
  max-width: 6.25rem;
}
.footer-bottom .footer-bottom-items-top .social .section-title {
  font-family: "InterBold";
}

/* =================== Responsive adjustments for mobile =================== */
@media (max-width: 900px) {

  .section-bar-2{
    .section-name{
      font-size: 1.5rem;
    }
    .bar{
    display: none;
  }
  }
  
  .work,
  .work-execution {
    padding: 1rem;
  }
  .work-top-items {
    flex-direction: column;
  }
  .top-item-header {
    grid-template-columns: 1fr;
  }
  .header-brief {
    max-width: 100%;
  }

  .execution-items-top {
    grid-template-columns: 1fr;
  }

  .execution-items-bottom {
  grid-template-columns: 1fr;
}
  .not-on-mobile {
    display: none;
  }

  .footer-bottom {
    padding: 1rem;
  }

  .footer-bottom-items-top .copyright{
    display: grid;
    grid-template-columns: 1fr;
  }
}
