/* ------------------------------------------
   Hero Section
------------------------------------------ */
.hero-section {
  background-image: url('/public/safe-and-inclusivity/webp/safe-city-banner.webp');
  background-size: cover;
  background-position: center;
  height: 110vh;
  width: 100%;
  position: relative;
  margin-bottom: 0;
  z-index: -2;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 5rem;
  margin: 0;
}

.hero-title {
  font-size: 10rem;
  line-height: 7.5rem;
  color: white;
  font-family: var(--font-secondary);
  font-weight: 800;
  margin: 0 0 0.5rem 8rem;
  transform: translateY(-16rem);
}

.hero-title::before {
  content: '';
  position: absolute;
  width: 64rem;
  height: 62rem;
  background-color: #436E55;
  opacity: 0.65;
  border-top-left-radius: 3.125rem;
  border-top-right-radius: 3.125rem;
  top: -4rem;
  left: -4rem;
  z-index: -3;
  padding: 2rem;
  box-sizing: border-box;
}

.hero-description {
  font-family: var(--font-primary);
  font-weight: 400;
  color: white;
  margin: 0 0 6rem 8rem;
  max-width: 50rem;
  transform: translateY(-8rem);
}

.intro-question {
  font-size: 1.875rem;
  line-height: 150%;
  letter-spacing: 0%;
  margin-bottom: 1rem;
}

.hero-expectations {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hero-expectations li {
  font-size: 1.875rem;
  line-height: 150%;
  letter-spacing: 0%;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 2rem;
}

.hero-expectations li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: white;
  font-weight: bold;
}

/* ------------------------------------------
   Introduction Section
------------------------------------------ */
.introduction-section {
  position: relative;
  margin: -16rem auto 6rem;
  width: 80%;
  max-width: 120rem;
  background-color: #436E55;
  padding: 2rem;
  border-radius: 5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  line-height: 2rem;
}

.intro-title {
  font-size: 2.8rem;
  font-family: var(--font-primary);
  font-weight: 400;
  color: white;
  margin-bottom: var(--spacer-md);
  text-align: left;
}

.expectations-list {
  margin-top: var(--spacer-md);
}

.city-expectations {
  list-style: none;
  padding: 0;
  margin: 0;
}

.expectation-item {
  margin-bottom: var(--spacer-sm);
  position: relative;
  padding-left: 2.5rem;
}

.expectation-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1rem;
  width: 1rem;
  height: 1rem;
  background-color: white;
  border-radius: 50%;
}

.expectation-item p {
  font-size: 1.8rem;
  font-family: var(--font-primary);
  color: white;
  line-height: 1.6;
  margin: 0;
}

/* ------------------------------------------
   Strategy Section
------------------------------------------ */
.strategy-section {
  margin: 0 auto;
  max-width: 100%;
  position: relative;
  padding: 0 5rem;
  z-index: 10 !important;
  background-color: #e1e6e6;
}

.strategy-section .section-title h1 {
  font-family: var(--font-secondary);
  font-size: 4rem;
  font-weight: var(--font-weight-bold);
  color: #9C3236;
  position: relative;
  margin-bottom: 6rem;
  margin-left: 3%;
  letter-spacing: 0.1rem;
}

.strategy-section .section-title h1::after {
  content: '';
  position: absolute;
  display: block;
  width: 22rem;
  height: 2px;
  background-color: #9C3236;
  bottom: 1.5rem;
  left: 20rem;
}

.strategy-content {
  padding: var(--spacer-md);
  position: relative;
}

.strategy-image {
  float: left;
  width: 45rem;
  margin: 0 3rem 2rem 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.strategy-image img {
  width: 100%;
  max-width: 45rem;
  height: auto;
  object-fit: cover;
}

.image-caption {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 135%;
  letter-spacing: 0%;
  color: #666666;
  margin-top: 1rem;
  text-align: left;
  width: 100%;
  max-width: 45rem;
}

.strategy-text {
  display: block;
  max-width: 90%;
  padding-top: 5rem;
}

.strategy-text p {
  font-size: 1.8rem;
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #252422;
  margin-bottom: var(--spacer-md);
  text-align: justify;
  
}

.strategy-content::after {
  content: '';
  display: table;
  clear: both;
}

/* ------------------------------------------
   Transport Sections
------------------------------------------ */
.transport-section {
  margin: var(--spacer-xl) 0;
  position: relative;
}

.transport-section .section-title {
  max-width: 90%;
  margin: 0 auto;
}

.transport-section .section-title h1 {
  font-family: var(--font-secondary);
  font-size: 6rem;
  font-weight: var(--font-weight-bold);
  position: relative;
  margin-left: 8%;
  letter-spacing: 0.1rem;
}

.transport-content {
  display: block;
  padding: 4rem 3rem;
  position: relative;
  max-width: 90%;
  margin: 0 auto;
}

/* Fixed: Full-width borders extending to screen edges */
.transport-content::before {
  content: '';
  position: absolute;
  left: calc(-50vw + 50%);
  right: calc(-50vw + 50%);
  height: 1px;
  z-index: 1;
}
.transport-content::after{
  content: '';
  position: absolute;
  left: calc(+50vw + 50%);
  right: calc(+50vw + 50%);
  height: 1px;
  z-index: 1;
}

.transport-content::before {
  top: 0;
}

.transport-content::after {
  bottom: 0;
}

.transport-image {
  float: left;
  width: 35rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  margin: 0 3rem 2rem 0;
  display: block;
}

.transport-image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.transport-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.transport-text {
  display: block;
}

.transport-text p {
  font-size: 1.8rem;
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #252422;
  margin: 0 0 var(--spacer-md) 0;
}

.transport-text h3 {
  font-size: 2.8rem;
  font-family: var(--font-primary);
  font-weight: 500;
  margin: var(--spacer-md) 0 0;
  clear: left; 
  max-width: 90%;
  margin: auto;
  line-height: 4rem;
}

.transport-content::after {
  content: '';
  display: table;
  clear: both;
}

.text-highlight-underline {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-style: italic;
  font-size: 3rem; 
  letter-spacing: 0%;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-thickness: auto;
  text-decoration-skip-ink: auto;
}

/* Section-specific styling */
.bus-section .section-title h1 {
  color: #339A5E;
}

.bus-section .section-title h1::after {
  background-color: #339A5E;
  left: 19rem;
}

.bus-section .transport-content::before,
.bus-section .transport-content::after {
  background-color: #339A5E;
}

.bus-section .transport-text h3 {
  color: #339A5E;
}

.train-section .section-title h1 {
  color: #C74A9B;
}

.train-section .section-title h1::after {
  background-color: #C74A9B;
  left: 22rem;
}

.train-section .transport-content::before,
.train-section .transport-content::after {
  background-color: #C74A9B;
}

.train-section .transport-text h3 {
  color: #C74A9B;
}

.streets-section .section-title h1 {
  color: #9C3236;
}

.streets-section .section-title h1::after {
  background-color: #9C3236;
  left: 20rem;
}

.streets-section .transport-content::before,
.streets-section .transport-content::after {
  background-color: #9C3236;
}

.streets-section .transport-text h3 {
  color: #9C3236;
}

.municipality-section .section-title h1 {
  color: #436E55;
}

.municipality-section .section-title h1::after {
  background-color: #436E55;
  left: 23rem;
}

.municipality-section .transport-content::before,
.municipality-section .transport-content::after {
  background-color: #436E55;
}

.municipality-section .transport-text h3 {
  color: #436E55;
}

/* ------------------------------------------
   Responsive Design
------------------------------------------ */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 8.5rem;
    line-height: 6.5rem;
    margin: 12rem 0 5rem 6rem;
    transform: translateY(-4rem);  
  }

  .hero-title::before {
    width: 50rem;
    height: 50rem;
    top: -1.5rem;
    left: -1.5rem;
  }

  .hero-description {
    margin: 0.5rem 0 0 6rem;
    max-width: 45rem;
    transform: translateY(-4rem);  
  }

  .intro-question {
    font-size: 1.6rem;
  }

  .hero-expectations li {
    font-size: 1.6rem;
  }
  
  .introduction-section {
    margin: -12rem auto 6rem;
    width: 85%;
  }
  
  .intro-title {
    font-size: 2.4rem;
  }
  
  .expectation-item p {
    font-size: 1.7rem;
  }
  
  .strategy-image {
    width: 35rem;
    margin: 0 2rem 2rem 0;
  }
  
  .transport-image {
    width: 30rem;
    margin: 0 2rem 2rem 0;
  }
  
  .transport-text h3 {
    font-size: 2.4rem;
    line-height: 3.5rem;
  }
}

/* Tablets */
@media (max-width: 968px) {
  .hero-section {
    height: 80vh;
  }

  .hero-content {
    margin-left: 2rem;
  }

  .hero-title {
    font-size: 6.5rem;
    line-height: 5.5rem;
    margin: 10rem 0 4rem 4rem;
    transform: translateY(0rem);  

  }

  .hero-title::before {
    width: 40rem;
    height: 38rem;
    top: -1.2rem;
    left: -1.2rem;
  }

  .hero-description {
    margin: 0.4rem 0 0 4rem;
    max-width: 38rem;
    transform: translateY(-2rem);  
  }

  .intro-question {
    font-size: 1.4rem;
  }

  .hero-expectations li {
    font-size: 1.4rem;
  }
  
  .introduction-section {
    width: 90%;
    margin: -10rem auto 5rem;
    padding: 2.5rem;
    border-radius: 3rem;
  }
  
  .intro-title {
    font-size: 2.2rem;
  }
  
  .expectation-item p {
    font-size: 1.6rem;
  }
  
  .strategy-image {
    width: 30rem;
    margin: 0 2rem 2rem 0;
  }
  
  .strategy-text p {
    font-size: 1.7rem;
  }
  
  .transport-section .section-title h1 {
    font-size: 4rem;
    margin-left: 0;
    text-align: center;
  }
  
  .transport-section .section-title h1::after {
    left: 50% !important;
    transform: translateX(-50%);
    width: 15rem !important;
  }
  
  .transport-text p {
    font-size: 1.7rem;
  }
  
  .transport-text h3 {
    font-size: 2.2rem;
    line-height: 3.2rem;
  }
  
  .text-highlight-underline {
    font-size: 2.5rem;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
  }

  .hero-content {
    margin-left: 1rem;
  }

  .hero-title {
    font-size: 4.5rem;
    line-height: 4rem;
    margin: 8rem 0 3rem 2rem;
    transform: translateY(0rem);  

  }

  .hero-title::before {
    width: 28rem;
    height: 30rem;
    top: -1rem;
    left: -1rem;
  }

  .hero-description {
    margin: 0.3rem 0 0 2rem;
    max-width: 26rem;
    text-align: left;
    transform: translateY(0rem);  

  }

  .intro-question {
    font-size: 1.2rem;
  }

  .hero-expectations li {
    font-size: 1.2rem;
  }
  
  .introduction-section {
    width: 95%;
    margin: -8rem auto 4rem;
    padding: 2rem;
    border-radius: 2rem;
  }
  
  .intro-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .expectation-item p {
    font-size: 1.5rem;
  }
  
  .strategy-image {
    float: none;
    width: 100%;
    margin: 0 0 2rem 0;
    justify-content: center;
  }

  .strategy-text p {
    font-size: 1.6rem;
    text-align: left;
  }
  
  .transport-section .section-title h1 {
    font-size: 3rem;
    margin-left: 0;
    text-align: center;
  }
  
  .transport-image {
    float: none;
    width: 100%;
    margin: 0 0 2rem 0;
    justify-content: center;
  }
  
  .transport-text p {
    font-size: 1.6rem;
  }
  
  .transport-text h3 {
    font-size: 2rem;
    line-height: 2.8rem;
    clear: none;
    max-width: 100%;
    margin: var(--spacer-md) 0 0;
    text-align: center;
  }
  
  .text-highlight-underline {
    font-size: 2.2rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .hero-section {
    height: 60vh;
  }

  .hero-content {
    margin-left: 0.5rem;
  }

  .hero-title {
    font-size: 3.2rem;
    line-height: 3rem;
    margin: 6rem 0 2.5rem 1rem;
    transform: translateY(0rem);  

  }

  .hero-title::before {
    width: 22rem;
    height: 26rem;
    top: -0.8rem;
    left: -0.8rem;
  }

  .hero-description {
    margin: 0.2rem 0 0 1rem;
    max-width: 20rem;
    text-align: left;
    transform: translateY(-2rem);  

  }

  .intro-question {
    font-size: 1rem;
  }

  .hero-expectations li {
    font-size: 1rem;
  }
  
  .introduction-section {
    padding: 1.5rem;
    margin: -6rem auto 3rem;
    width: 98%;
  }
  
  .intro-title {
    font-size: 1.8rem;
  }
  
  .expectation-item p {
    font-size: 1.4rem;
  }
  
  .strategy-text p {
    font-size: 1.4rem;
  }
  
  .transport-section .section-title h1 {
    font-size: 2.5rem;
  }
  
  .transport-text p {
    font-size: 1.4rem;
  }
  
  .transport-text h3 {
    font-size: 1.8rem;
    line-height: 2.4rem;
  }
  
  .text-highlight-underline {
    font-size: 1.8rem;
  }
}

/* Extra small devices */
@media (max-width: 360px) {
  .hero-content {
    margin-left: 0.25rem;
  }

  .hero-title {
    font-size: 2.8rem;
    line-height: 2.5rem;
    margin: 5rem 0 2rem 0.5rem;
    transform: translateY(4rem);  
  }

  .hero-title::before {
    width: 18rem;
    height: 20rem;
    top: -0.6rem;
    left: -0.6rem;
    
  }

  .hero-description {
    margin: 0.1rem 0 0 0.5rem;
    max-width: 16rem;
    text-align: left;
    transform: translateY(3rem);  
  }

  .intro-question {
    font-size: 0.9rem;
  }

  .hero-expectations li {
    font-size: 0.9rem;
  }
  
  .introduction-section {
    padding: 1rem;
    margin: -5rem auto 2rem;
  }
  
  .intro-title {
    font-size: 1.6rem;
  }
  
  .expectation-item p {
    font-size: 1.3rem;
  }
  
  .strategy-section {
    padding: 2rem 0.5rem;
  }
  
  .strategy-content {
    padding: 1rem 0.25rem;
  }
  
  .strategy-text p {
    font-size: 1.3rem;
  }
  
  .transport-section {
    padding: 2rem 0.5rem;
  }
  
  .transport-section .section-title h1 {
    font-size: 2.2rem;
  }
  
  .transport-content {
    padding: 1rem 0.25rem;
  }
  
  .transport-text p {
    font-size: 1.3rem;
  }
  
  .transport-text h3 {
    font-size: 1.6rem;
    line-height: 2.2rem;
  }
  
  .text-highlight-underline {
    font-size: 1.6rem;
  }
}

/* ------------------------------------------
   Footer Social Icons Fix - Ensure Horizontal Layout
------------------------------------------ */
.footer_socials {
  display: flex !important;
  flex-direction: row !important;
  gap: 1rem !important;
  margin-bottom: 0.8rem !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.footer_socials picture {
  display: inline-block !important;
}

.footer_socials img {
  width: 45px !important;
  height: 45px !important;
  filter: brightness(0) invert(1) !important;
  transition: transform 0.3s ease !important;
  display: block !important;
}

.footer_socials img:hover {
  transform: scale(1.1) !important;
  cursor: pointer !important;
}