﻿

body {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 1.0rem !important;
    font-weight: 400 !important;
    color: #333 !important;
    line-height: 1.5 !important;
    padding-top: 50px;
    padding-bottom: 20px;
    background: none !important;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.required-note {
    font-style: italic;
    font-size: 13px;
    color: rgb(33 37 41) !important;
    margin-bottom: 0px !important;
    margin-top: 32px;
}

.icon-primary {
    color: #0d6efd;
    font-size: 25px;
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner-border {
    width: 2rem;
    height: 2rem;
    border-width: 0.2em;
}

.blink {
    animation: blink 1s ease-in-out infinite !important;
    border: 1px solid red !important;
}

@keyframes blink {
    0%, 100% {
        background-color: inherit !important;
    }

    50% {
        background-color: #ffcccc !important;
    }
}

.modal-content {
    border-radius: 20px !important;
    border: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    padding: 24px 32px !important;
    background: #ffffff !important;
}

.modal-header {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
}

.modal-title {
    font-weight: 600 !important;
    font-size: 1.25rem !important;
    color: #1a1a1a !important;
}

.modal-header .btn-close {
    background-color: #333 !important;
    border: none;
    border-radius: 6px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #fff !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
    padding: 0;
    opacity: 1 !important;
}


.modal-body {
    padding: 0 !important;
}

@media (max-width: 576px) {
    .modal-content {
        padding: 20px 16px !important;
    }

    .modal-title {
        font-size: 1.1rem !important;
    }
}

.form-label {
    font-size: 1.0em !important;
    color: rgba(33, 45, 58, 1) !important; /*rgba(51,71,91,1.0) !important;*/ /*#333 !important;*/
}

    .form-label.required::after {
        content: " *";
        color: red !important;
        font-weight: bold;
    }

input.form-control,
select.form-select,
textarea.form-control {
    background-color: rgba(238,238,252,1) !important; /*#f5f4ff !important;*/
    border: 1px solid rgba(183,184,195,1) !important; /*1px solid #ddd !important;*/
    border-radius: 8px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    color: #333 !important;
    appearance: none !important;
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out !important;
}

    input.form-control:focus,
    select.form-select:focus,
    textarea.form-control:focus {
        border-color: none !important; /* #a26eff !important;*/
        box-shadow: 0 0 4px rgba(183,184,195,1) !important; /*0 0 0 0.2rem rgba(162, 110, 255, 0.25) !important;*/
        background-color: none !important; /*#f5f4ff !important;*/
        outline: none !important;
    }

::placeholder {
    color: #999 !important;
    opacity: 1 !important;
    font-size: 14px !important;
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
}

select.form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='gray' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px 16px !important;
    cursor: pointer !important;
}

select::-ms-expand {
    display: none !important;
}

.card {
    border-radius: 15.0px 15.0px 15.0px 15.0px !important;
}

.btn {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 1.0rem !important;
}

.btn-link {
    color: rgba(255,52,110,1) !important;
    font-weight: bold !important;
}

.spinner-border {
    color: rgba(255,52,110,1) !important;
}

.icon-primary {
    /*color: rgba(255,52,110,1) !important;*/
    color: #363a41db !important;
}

.text-decoration-underline-custom {
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
}

.icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    width: 48px;
    height: 48px;
}

.custom-icon {
    font-size: 20px;
    background: linear-gradient(to bottom, #0d0c2b 50%, #c3c3cc 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.btn-save-custom {
    background-color: rgba(255,52,110,1) !important; /*#ff3b7c !important;*/
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 10px 24px !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 12px rgba(255, 59, 124, 0.3) !important;
    transition: background-color 0.3s ease-in-out !important;
}

    .btn-save-custom:hover {
        background-color: #e2336e !important;
    }

.btn-cancel-custom {
    background-color: #333 !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 500 !important;
    padding: 10px 24px !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    opacity: 0.9;
}

    .btn-cancel-custom:hover {
        background-color: #222 !important;
        opacity: 1;
    }

table .sort-link {
    color: rgba(255,52,110,1) !important;
}

.emailLink {
    color: rgba(255,52,110,1) !important;
}

.nav-tabs .nav-link {
    color: rgba(255,52,110,1);
}

    .nav-tabs .nav-link:hover {
        color: rgba(255,52,110,1);
    }

.flatpickr-wrapper {
    display: block !important;
}

.btn-save-custom-mob {
    background-color: rgba(255, 52, 110, 1) !important;
    color: #fff !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    padding: 7px 15px !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: 0 4px 12px rgba(255, 59, 124, 0.3) !important;
    transition: background-color 0.3s ease-in-out !important;
}

.bottom-tile {
    border-bottom: 1px solid #ddd;
}

    .bottom-tile:last-child {
        border-bottom: none;
    }

.required-label::after {
    content: " *";
    color: red;
    margin-left: 4px;
    font-weight: bold;
}

.info-column {
    display: flex;
    flex-direction: column;
}

.partner-logo {
    width: 100px; /* default width */
    height: 120px; /* default height */
    object-fit: contain;
    padding: 10px;
    background: transparent;
    border: none;
    transition: all 0.3s ease;
}

/* Medium devices (tablet) */
@media (max-width: 992px) {
    .partner-logo {
        width: 120px;
        height: 70px;
    }
}

/* Small devices (mobile) */
@media (max-width: 576px) {
    .partner-logo {
        width: 100px;
        height: 60px;
        padding: 5px;
    }
}

.company-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}

.contact-name {
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-line {
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.contact-link {
    color: #007bff;
    text-decoration: none;
}

    .contact-link:hover {
        text-decoration: underline;
    }


.details-text {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold; /* slight bold */
    line-height: 1.9;
    color: #000;
    margin: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
}

    /* Only spacing between paragraphs */
    .details-text p {
        margin: 0 0 22px 0;
        padding: 0;
    }


@media (max-width: 768px) {
    .details-text {
        font-size: 15px;
        line-height: 1.7;
    }

        .details-text p {
            margin-bottom: 18px;
        }
}

@media (max-width: 576px) {
    .details-text {
        font-size: 14px;
        line-height: 1.6;
    }

        .details-text p {
            margin-bottom: 16px;
        }
}

/* ===== Wrapper ===== */
.leadership-wrapper {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #d9d9d9;
    background-color: #ffffff;
}

/* ===== Title ===== */
.section-title {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 20px; /* Increase as needed */
    font-weight: 600; /* Optional: make it bolder */
    color: #222; /* Optional: text color */
}

/* ===== Grid Layout ===== */
.list-header,
.list-row {
    display: grid;
    grid-template-columns: 3fr 1.5fr 2fr;
    align-items: center;
}

/* ===== Header (NO background) ===== */
.list-header {
    padding: 10px 12px;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid #dee2e6; /* Bootstrap light border */
}

/* ===== Rows ===== */
.list-row {
    padding: 10px 12px;
    font-size: 0.95rem;
    font-weight: 450;
    color: #212539;
    background-color: #ffffff;
    /* Thin row divider like screenshot */
    border-bottom: 1px solid #dee2e6;
}

    /* Alternate rows (very subtle) */
    .list-row:nth-child(odd) {
        background-color: #f5f5f5;
    }

    /* Remove last border */
    .list-row:last-child {
        border-bottom: none;
    }

/* ===== Columns ===== */
.col {
    font-size: inherit;
}

.mobile-label {
    display: none;
}
.list-row div {
    font-family: 'Inter', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 16px; /* adjust as needed */
    color: #333; /* optional */
}

/* =========================================================
   Mobile View (Single Media Query)
   ========================================================= */
@media (max-width: 768px) {

    /* Hide header row */
    .list-header {
        display: none;
    }

    /* Heading spacing & alignment */
   
    h3.section-title {
        margin: 0 !important; /* remove default h3 margin */
        padding: 2px 12px 14px 12px !important; /* very close to top */
    }

    /* Outer container padding adjustment if needed */
    .leadership-list {
        padding-left: 8px !important; /* heading aligned to card border */
        padding-right: 8px !important;
    }

    /* Rows: stack vertically, remove grid & borders */
    .list-row {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        padding: 14px 12px 14px 12px; /* match heading left */
        background-color: #ffffff !important;
        border: none !important;
        margin: 0;
        position: relative;
        box-shadow: none !important;
    }

        /* Remove all desktop shading */
        .list-row,
        .list-row:hover,
        .list-row:nth-child(odd),
        .list-row:nth-child(even),
        .list-row > *,
        .list-row .col {
            background-color: #ffffff !important;
            border: none !important;
        }

            /* Divider aligned with text */
            .list-row::after {
                content: "";
                display: block;
                height: 1px;
                background-color: #dee2e6;
                margin-top: 12px;
            }

            .list-row:last-child::after {
                display: none;
            }

            /* Stack columns */
            .list-row .col {
                display: block !important;
                width: 100%;
                border: none !important;
            }

            /* Text styling */
            .list-row .position {
                font-weight: 600;
                font-size: 1rem;
                margin-bottom: 4px;
            }

            .list-row .year {
                font-size: 0.95rem;
                color: #495057;
                white-space: nowrap;
            }

                .list-row .year::before {
                    content: "Fiscal Year: ";
                }

            .list-row .type {
                font-size: 0.95rem;
                color: #495057;
            }

    /* Hide mobile label spans if any */
    .mobile-label {
        display: none;
    }
}

.show-more-wrapper {
    display: flex;
    justify-content: flex-end; /* right align */
    margin-top: 10px;
}

.show-more-text {
    color: #d63384;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
}

.partner-form {
    max-width: 900px;
}

.col-form-label {
    font-weight: 500;
}


/* FIX nicEdit toolbar not showing */
.nicEdit-panelContain {
    height: auto !important;
    overflow: visible !important;
}

.nicEdit-panel {
    height: auto !important;
}

.nicEdit-main {
    width: 100% !important;
    min-height: 200px;
}

/* Bootstrap conflict fix */
.nicEdit-panelContain table {
    width: auto !important;
}

#area1{
    width:100%
}


/* LOGO FIX */
.logo-box {
    width: 180px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
}

#modalLogo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* INFO FIX */
.info-box {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* NAME */
.name-box {
    font-size: 20px;
    font-weight: 600;
    min-height: 28px; /* FIXED POSITION */
    margin-bottom: 6px;
}

/* EMAIL */
.email-box,
.website-box {
    font-size: 14px;
    font-weight: 600;
}


.text-sort {
    color: #e91e63; /* pink */
    cursor: pointer;
    font-weight: 500;
}

    .text-sort:hover {
        text-decoration: underline;
    }

.sort-arrow {
    margin-left: 4px;
    font-size: 12px;
    vertical-align: middle;
}

/* =====================================================
   FILTER BAR (FULL WIDTH)
===================================================== */
.partner-filter-bar {
   
    position: relative;
    left: 50%; /* start from center of container */
    right: 50%;
    margin-left: -50vw; /* pull to left edge of viewport */
    margin-right: -50vw; /* pull to right edge of viewport */
    width: 100vw; /* full viewport width */

    display: flex;
    justify-content: center; /* center dropdowns */
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    background: linear-gradient(90deg, #2b0b8f 0%, #1a004d 100%);
    z-index: 1000;
    box-sizing: border-box;
}

/* =====================================================
   FILTER ITEM
===================================================== */
.filter-item {
    min-width: 220px;
}

/* =====================================================
   SELECT DROPDOWN
===================================================== */
.filter-select {
    width: 100%;
    padding: 10px 36px 10px 14px;
    font-size: 14px;
    color: #ffffff;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

    .filter-select option {
        /*color: #000000;*/

        background-color: #1a004d;
        color: #ffffff;
    }

/* =====================================================
   DROPDOWN ARROW
===================================================== */
.filter-item::after {
    content: "▾";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-size: 14px;
    pointer-events: none;
}

/* =====================================================
   STATES
===================================================== */
.filter-select:hover,
.filter-select:focus {
    border-color: #ffffff;
    outline: none;
}

/* =====================================================
   MOBILE VIEW
===================================================== */
@media (max-width: 768px) {
    .partner-filter-bar {
        position: relative;
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        padding: 16px;
        border-radius: 0;
        background: linear-gradient(180deg, #2b0b8f 0%, #1a004d 100%);
    }

    .filter-item {
        width: 100%;
        min-width: unset;
    }

    .filter-select {
        width: 100%;
        font-size: 15px;
        padding: 12px 40px 12px 16px;
        border-radius: 8px;
    }

    .filter-item::after {
        right: 16px;
        font-size: 16px;
    }
}

.partner-card {
    border: 1px solid #8fa1b5;
    border-radius: 20px;
    background: #f4f3f1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 350px; /* increased height */
    transition: transform 0.3s, box-shadow 0.3s;
}


    .partner-card:hover {
        transform: scale(1.05);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    }

/* Logo section */
.partner-logo-member {
    height: 220px; /* increased from 180px */
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .partner-logo-member img {
        max-width: 90%; /* slightly bigger */
        max-height: 90%;
        object-fit: contain;
    }

/* Body */
.partner-body {
    padding: 18px; /* more padding for spacious look */
    flex: 1;
}

.partner-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px; /* slightly larger gap */
    margin-bottom: 8px;
}

.partner-name {
    font-weight: bold;
    font-size: 18px; /* bigger */
}

.partner-desc {
    font-weight: normal;
    color: #333;
    font-size: 15px; /* bigger */
}

/* Footer */
.partner-footer {
    width: 600px; /* set your desired width */
    height: 50px; /* fixed height */
    padding: 14px 16px;
    background: #ecebea;
    font-size: 15px;
    color: #555;
    display: flex;
    align-items: center; /* vertical center */
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}
/* ================= RESPONSIVE GRID ================= */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 equal columns */
    /*gap: 20px;*/ /* space between cards */
    gap: 17px;
    padding: 20px;
}

@media (max-width: 1200px) {
    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .partner-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= PARTNER MODAL – MOBILE ================= */
@media (max-width: 768px) {

    /* Modal container */
    #partnerModal .modal-dialog {
        max-width: 92%;
        margin: 16px auto;
    }

    /* Modal content */
    #partnerModal .modal-content {
        border-radius: 14px;
        overflow: hidden;
    }

    /* Header */
    #partnerModal .modal-header {
        padding: 12px 16px;
    }

    #partnerModal .modal-title {
        font-size: 16px;
        font-weight: 600;
        line-height: 1.3;
    }

    /* Body spacing */
    #partnerModal .modal-body {
        padding: 14px 16px 18px;
    }

    /* Logo */
    #modalLogo {
        max-height: 120px;
        object-fit: contain;
    }
    #youtubeDesc {
        font-size: 14px;
        line-height: 1.5;
    }
    /* Video */
    #modalVideo {
        height: 180px;
        border-radius: 8px;
    }

    /* Description text */
    #modalDesc {
        font-size: 14px;
        line-height: 1.5;
        margin-top: 10px;
    }
}
@media (max-width: 576px) {
    .partner-footer {
        width: 100%;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.4;
        height: calc(1.4em * 2 + 28px); /* 2 lines + padding */
    }
}

.partner-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 100px; /* uniform height */
    cursor: pointer;
}

/* Logo image */
.partner-logo-img {
    max-width: 180px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    border: none;
    outline: none;
    box-shadow: none;
}

@media (max-width: 768px) {

    .partner-logo-wrapper {
        width: 140px; /* smaller container */
        height: 70px;
    }

    .partner-logo-img {
        max-width: 120px;
        max-height: 50px;
    }
}

@media (hover: hover) {
    .partner-logo-wrapper:hover img {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@media (hover: none) {
    .partner-logo-wrapper img {
        transform: none;
    }
}

@media (max-width: 768px) {

    /* Stack logo & info */
    .modal-body .row.align-items-center {
        text-align: center;
    }

    .logo-box {
        height: 90px;
        margin-bottom: 12px;
    }

    #modalLogo {
        max-width: 140px;
        max-height: 60px;
    }

    .info-box {
        text-align: center;
    }

    .name-box {
        font-size: 1.1rem;
    }

    .email-box,
    .website-box {
        font-size: 0.9rem;
    }
}

#youtubeDesc {
    font-size: 14px;
    line-height: 1.5;
}

#shortDesc {
    font-size: 15px;
}

#pageContent p {
    margin-bottom: 0.75rem;
}

#offerbutton .btn {
    padding: 8px 20px;
    font-size: 14px;
}

.modal-header {
    position: relative;
    overflow: visible;
}

.modal-close-x-right {
    position: absolute;
    top: -6px; /* move above header safely */
    right: 16px;
    background: transparent;
    border: none;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    color: #000;
    cursor: pointer;
    padding: 0;
}

    .modal-close-x-right:hover {
        color: #dc3545;
    }



#modalWebsite {
    white-space: nowrap;
    overflow: visible; /* 🔴 was hidden */
    text-overflow: unset; /* 🔴 remove ellipsis */
}

    #modalWebsite a {
        display: inline;
        word-break: keep-all; /* 🔴 prevents cutting .com.au */
    }
