/* ── HERO ── */

.hero-section {
  padding: 0; 
}

.hero {
    width: 100%;
    aspect-ratio: 16 / 7.3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero__inner {
    background-color: var(--color-orange);
    width: 100%;
    height: 50%;
}
.hero__inner:nth-child(1) {
}
.hero__inner:nth-child(2) {
    background-color: var(--color-teal);
    border-top-left-radius: var(--corner);
}
.hero__inner .illo-bg {
    border-top-left-radius: var(--corner);
}
.hero__placeholder {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--color-body);
}
.hero-title {
    border-bottom-right-radius: var(--corner);
    color: var(--color-purple);
    font-weight: 400;
    background: white;
    display: flex;
    justify-content: flex-start;
    padding: 0;
    padding-top: 15%;
    font-size: clamp(2.3rem, 3vw, 3rem);
    line-height: 1.05;
}
.hero-title div div {
    color: var(--color-teal);
}

.illo-buildings {
    position: absolute;
    bottom: 0px;
    right:0;
    width:73%;
}
.illo-cyclist {
    position: absolute;
    bottom: 10px;
    right:40%;
    width:14%;
}
.illo-sun {
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 60%;
    z-index: 0;
    transform-origin: center center;
    animation: sunRotate 15s linear infinite;
}

@keyframes sunRotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@media (max-width: 991px) {
    .hero__inner {
        height: 55%;
    }
    .hero-title {
        padding-top: 10%;
        font-size: clamp(2rem, 3vw, 3rem);
        line-height: 1.05;
    }
}
@media (max-width: 767px) {
    
    .hero__inner {
        background-color: none;
        height: auto;
    }
    .hero {
      aspect-ratio: auto;
    }
    .hero-mobile {
        border-top-left-radius: var(--corner);
        overflow: hidden;
    }
    .hero-title {
        border-radius: 0;
        background-color: none;
        padding: 1rem 0 2rem 0;
        font-size: clamp(2.75rem, 3vw, 3rem);
    }
    .illo-sun {
        position: absolute;
        bottom: 10%;
        right: 5%;
        width: 50%;
        z-index: 0;
    }
}


/* ── KEY HIGHLIGHTS ── */

.key-highlights {
  padding: var(--section-gap) 0;
}

.key-highlights__heading {
  text-align: center;
  text-transform: uppercase;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--color-heading-accent);
  margin-bottom: 1.75rem;
}

/* Desktop 4-col grid — layout handled by Bootstrap col-md-3 */

.key-highlight-item {
    background: var(--color-purple-light);
    background: radial-gradient(ellipse 100% 60% at 50% -10%, #a8c5d4 0%, #7b5fa0 60%, var(--color-purple-light) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    border-radius: var(--corner);
    color: white;
}
.key-highlight-item .area-top { 
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 22%;
}
.key-highlight-item .area-middle {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 25px;
    height: 58%;
    font-size: 1.1rem;
}
.key-highlight-item .area-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 25px;
    height: 20%;
    font-size: 0.8rem;
    line-height: 1.3;
    opacity: 0.8;
    font-weight: 300;
}
.key-ttl {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 600;
}
.key-mid {
    font-weight: 600;
    margin-bottom: 3px;
}
.pt-3 strong {
    font-size: 1.2em;
}
.key-icon {
    width: 17%;
    margin: auto;
}
@media (max-width: 767px) {
    .key-ttl {
        font-size: 3rem;
    }
}

.page-cta-item {
    background: white;
    color: var(--color-cta-text);
    aspect-ratio: 3 / 4;
    display: flex;
    flex-direction: column;

    justify-content: flex-start;
    text-align: center;
    padding-bottom: 2.5rem;
}
.home-cta-pic {
    aspect-ratio: 4 / 2.75;
    border-radius: var(--corner);
    overflow: hidden;
}
.home-cta-pic img {
    object-fit: cover;
    width: 100%; height: 100%;
}


.page-cta-item a:hover .home-cta-pic {
    /*border: 5px solid white;*/
}
.home-cta-ttl {
    margin-top: 0.9rem;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.3;
    
    padding: 0 5%;
}
.page-cta-item--featured {
  background: var(--color-peach);
    align-items: center;
    justify-content: center;
  aspect-ratio: auto;           /* let it grow to match row height */
  min-height: 280px;
    padding: 0 10%;
}
.ico-globe {
    width: 8%;
}

@media (max-width: 767px) {
    .home-cta-pic {
        aspect-ratio: 4 / 2.25;
    }
    .ico-globe {
        width: 12%;
    }
    .page-cta-item--featured {
        aspect-ratio: auto;
        min-height: 320px;
        padding: 1rem 10%;
    }
    .page-cta-item {
        aspect-ratio: auto;
        padding-bottom: 1.5rem;
    }
}

/* Mobile carousel overrides */

.carousel-indicators [data-bs-target] {
  background-color: var(--color-highlight-bg);
    width: 8px;
    height: 8px;
    border-radius: 50%;
margin-right: 5px;
    margin-left: 5px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  
}
.carousel-control-prev {
    transform: translateX(-5px);
}
.carousel-control-next {
    transform: translateX(5px);
}

.key-highlight-item {
  aspect-ratio: 3 / 3.9;
  width: 100%;
}

@media (max-width: 1399px) {
    .key-highlight-item {
      aspect-ratio: 3 / 4.5;
    }
    .key-highlight-item .area-middle {
     padding: 0 10px;
    }
    .key-highlight-item .area-bottom {
        height: 25%;
    }
}
@media (max-width: 1199px) {
    .key-highlight-item {
      aspect-ratio: 3 / 5.65;
    }
    .key-highlight-item .area-middle {
     padding: 0 15px;
    }
    .key-highlight-item .area-bottom {
        height: 25%;
    }
}
@media (max-width: 991px) {
    .key-highlights {
        margin-bottom: 2rem;
    }
    .key-highlight-item {
      aspect-ratio: 3 / 2;
    }
    .key-highlight-item .area-middle, .key-highlight-item .area-bottom {
     padding: 0 20%;
    }
    .key-highlight-item .area-top { 
        height: 30%;
    }
    .key-highlight-item .area-middle {
        height: 50%;
    }
    .key-highlight-item .area-bottom {
        height: 20%;
    }
    .carousel-indicators {
        position: absolute;
        bottom:0px !important;
        transform: translateY(180%);
    }
}
@media (max-width: 767px) {
    .key-highlight-item {
      aspect-ratio: 3 / 3.5 ;
    }
    .key-highlight-item .area-middle, .key-highlight-item .area-bottom {
     padding: 0 15%;
    }
    .key-highlight-item .area-top { 
        height: 25%;
    }
    .key-highlight-item .area-middle {
        height: 55%;
    }
    .key-highlight-item .area-bottom {
        height: 20%;
    }

}