
/* ===================================
   GLOBAL BUTTON STYLE
   Change buttons here only
=================================== */
.site-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #732a80;
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none !important;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem !important;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    transition: background-color 0.2s ease !important;
}

.site-btn:hover {
    background-color: #5a2164 !important;
}

.content-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem !important;
    color: #732a80;
    margin: 0 0 1rem;
    line-height: 1.2;
    letter-spacing: normal !important;
}

.content-paragraph {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem !important;
    color: #732a80;
    margin: 0 0 20px 0;
    line-height: 1.6 !important;
}


/* Header Banner */
.top-banner {
    position: relative;
    width: 100%;
    height: 60vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background media layer */
.top-banner-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.top-banner-media img,
.top-banner-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Black overlay */
.top-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.5) 30%,
        rgba(0, 0, 0, 0.2) 70%,
        rgba(0, 0, 0, 0) 100%
    );
}

/* Content container */
.top-banner-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding-left: 20px;
    line-height: 1.6;
}

/* Content */
.top-banner-content {
    color: #fff;
    max-width: 600px;
}

.top-banner-logo {
    display: block;
    width: 200px;
    height: auto;
    margin-bottom: 15px;
}

/* Heading */
.top-banner-content h1 {
    font-size: 2.6rem;
    margin-bottom: 20px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: normal !important;

}

/* Bold paragraph */
.top-banner-content .bold-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.6rem !important;
    margin-bottom: 20px;
}

/* Normal paragraph */
.top-banner-content p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.4rem !important;
    margin-bottom: 40px;
}

/* Button group */
.top-banner-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;
    align-items: stretch;

}

.top-banner-buttons .site-btn {
    flex: 1;
}



.image-row {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}

.image-card {
    position: relative;
    overflow: hidden;
}

.card-link {
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.card-link:hover .site-btn {
    background-color: #5a2164;
}

.main-image {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.logo {
    width: auto;
    max-width: 200px;
    max-height: 100px;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0px 0px 6px rgba(0, 0, 0, 0.8));
}


.overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 80%;
    pointer-events: none;
}

.overlay h3 {
    margin: 0;
    padding: 0 10px 0 10px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
       transition: transform 0.2s ease;

}

.card-link:hover .overlay h3 {
    transform: scale(1.08);
}


.text-section {
    text-align: center; /* optional */
    margin:auto;
    margin-top: 60px;
    width: 100%;
    max-width: 1200px;

}


.video-left, .video-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
    width: 100%;
    max-width: 1200px;
  margin: 0 auto;
}

.video-media {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin: 30px 0 30px 0;

}

.video-left .site-btn,
.video-right .site-btn {
    display: inline-flex;
    width: fit-content;
    align-self: flex-start;
}

.video-media iframe,
.video-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: 0;
}

.video-right-description {
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.feature-banner {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 25% 75%;
    overflow: hidden;
    box-sizing: border-box;
}


/* =========================
   IMAGE
   ========================= */

.feature-banner-image {
    overflow: hidden;
}

.feature-banner-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}


/* =========================
   CONTENT
   ========================= */

.feature-banner-content {
    background: rgba(115, 42, 128, 0.15);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    box-sizing: border-box;
}

.feature-banner-content .content-heading {
    margin: 0 0 20px;
}

.feature-banner-content .content-paragraph {
    margin: 0 0 25px;
}


/* =========================
   RIGHT IMAGE VERSION
   ========================= */

.feature-banner-right {
    grid-template-columns: 75% 25%;
}

.feature-banner-right .feature-banner-content {
    grid-column: 1;
    grid-row: 1;
}

.feature-banner-right .feature-banner-image {
    grid-column: 2;
    grid-row: 1;
}




.dual-feature-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.dual-feature-card {
    display: grid;
    grid-template-columns: 33% 67%;
    overflow: hidden;
}

.dual-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dual-feature-content {
    background: rgba(115, 42, 128, 0.15);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.dual-feature-content .site-btn {
    width: fit-content;
    margin-top: 15px;
}


.image-card-section {
    width: 100%;
    max-width: 1200px;
    margin: 60px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.image-text-card {
    display: flex;
    flex-direction: column;
}

.image-text-card img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}

.image-text-content {
    padding: 25px 10px 0;
}

.image-text-content .site-btn {
    display: inline-flex;
    width: fit-content;
    margin-top: 0px;
}



/* Tablet */
@media (max-width: 992px) {

    .top-banner {
        height: auto;
        min-height: 50vh;
        padding: 60px 0;
    }

    .top-banner-container {
        width: 85%;
        text-align: center;
        padding-left: 0;
    }

    .top-banner::before {
        background: rgba(0, 0, 0, 0.6);
    }

    .top-banner-content {
        margin: 0 auto;
    }

    .top-banner-logo {
        margin: 0 auto 20px;
    }

    .top-banner-content .bold-text {
        font-size: 1rem;
    }

    .top-banner-content p {
        font-size: 1rem;
    }

    .top-banner-buttons {
        justify-content: center;
    }

    .image-row {
        width: 90%;
    }

     /* Make images shorter */
    .main-image {
        aspect-ratio: 4/ 5;
    }


    /* Hide button */
    .image-card .site-btn {
        display: none;
    } 

    /* Centre logo vertically */
    .overlay {
        top: 50%;
        bottom: auto;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
    }

    .logo {
        width: 80%;       
        height: auto;
        max-width: none;     
        max-height: none;
        margin-bottom: 0;
    }

        .overlay h3 {
    font-size: 18px;
    }

    .text-section {
    width:90%;
    }

   .text-section p {
    font-size: 0.8rem;
    }

    .video-left, .video-right {
    grid-template-columns: 1fr;
    width: 90%;
    gap: 10px;
}

.video-left .site-btn,
.video-right .site-btn {
    align-self: center;
}

    .video-left, .video-right {
    text-align: center;
}

.video-left div {
      order: 1;
  }
  
  .video-left .video-media  {
      order: 2;
  }

.video-right-description {
    order: 1;
}

.video-right-video {
    order: 2;
}

  .feature-banner,
    .feature-banner-right {
        width: 90%;
        margin: 30px auto;
        box-sizing: border-box;
    }

    /* Left image version */
    .feature-banner {
        grid-template-columns: 40% 60%;
    }

    /* Right image version */
    .feature-banner-right {
        grid-template-columns: 80% 20%;
    }

    .feature-banner-image {
          height: 100%;
    }

    .feature-banner-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .feature-banner-content {
        padding: 35px;
    }


    .dual-feature-section {
        grid-template-columns: 1fr;
        width: 90%;
    }

    /* Keep image/text side-by-side */
    .dual-feature-card {
        grid-template-columns: 33% 67%;
    }

    /* Centre button */
    .dual-feature-content {
        align-items: center;
        text-align: center;
    }

    .dual-feature-content .site-btn {
        align-self: center;
    }


     .image-card-section {
        grid-template-columns: 1fr;
        width: 90%;
    }

    .image-text-content {
        text-align: center;
    }

    .image-text-content .site-btn {
        display: inline-flex;
        margin: 0px auto 20px;
    }

}



@media (max-width: 768px) {

    .video-media {
    width: 100%;
    height: 250px;
}

.image-row {
        grid-template-columns: repeat(2, 1fr);
}

   .image-row .main-image {
        aspect-ratio: 16 / 9;
    }

    .logo {
    width: 80%;
    height: auto;
    }

    .image-row:has(.image-card:last-child:nth-child(odd)) {
        grid-template-columns: 1fr;
    }
    

    .image-row:has(.image-card:last-child:nth-child(even)) .main-image {
        aspect-ratio: 1 / 1;
    }

    .image-row:has(.image-card:last-child:nth-child(odd)) .logo{
            width: 60%;
    }

    .feature-banner,
    .feature-banner-right {
        margin: 25px auto;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    /* Image always comes first */
    .feature-banner-image,
    .feature-banner-right .feature-banner-image {
        width: 100%;
        aspect-ratio: 4 / 3;
        order: 1;
        box-sizing: border-box;
    }

    .feature-banner-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

    /* Content always comes second */
    .feature-banner-content,
    .feature-banner-right .feature-banner-content {
        width: 100%;
        order: 2;
        padding: 30px 25px;
        box-sizing: border-box;
        align-items: center;
        text-align: center;
    }

    .feature-banner-content .content-heading {
        margin-bottom: 15px;
    }

    .feature-banner-content .content-paragraph {
        margin-bottom: 20px;
    }


  

}


/* Mobile */
@media (max-width: 600px) {


    .top-banner-container {
        width: 90%;
    }

    .top-banner-logo {
        max-width: 150px;
    }

    .top-banner-content h1 {
        font-size: 2rem;
    }

    .top-banner-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }



}


