/* styles.css */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

button {
    padding: 10px;
    margin-top: 10px;
    background-color: #0056b3;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.body-section {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.header-mission-background {
    background-image: url('/imgs/header-bg.png');
    background-size: cover;
    /* Adjust as needed */
    background-position: center;
    /* Adjust as needed */
    background-repeat: no-repeat;
    padding: 0;
    /* Adjust padding to ensure content looks good */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Align items to the left */
}

.banner {
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
    /* Center the content inside the .banner */
}

.banner img {
    /* width: 70%;
     Set the width of the image to 60% of the parent */
    display: inline-block;
    /* Ensure the image is an inline-block element for centering */
}

.container {
    max-width: 1200px;
    margin: 0 auto;

}


.mission {
    margin: 0 auto;
    padding: 0 0rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    /* Align text to the left */
    padding: 20px;

}

.mission h1 {
    text-align: left;
    color: #0080ff;
    font-size: 30px;
    font-weight: bold;
    margin: 0px 0px 0px 0px;
}

.mission p {
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    margin: 10px 0px 0px 0px;
    max-width: 40%;
    /* Set maximum width for the mission section */
}

.mission-desc {
    font-weight: 300 !important;
}

.mission h3 {
    text-align: left;
    font-size: 18px;
    font-weight: bold;

    max-width: 50%;
    /* Set maximum width for the mission section */
}


.header-container a {
    display: flex;
    justify-content: flex-start;
    /* Align contents to the left */
    align-items: center;
    padding: 20px;
    gap: 20px;
    /* Add some space between the logos */
    width: 100%;
}

header a img {
    max-height: 100px;
    display: flex;
}

.bluesafe-logo {
    max-height: 80px;
}

.navbar {
    font-weight: 600;
    display: flex;
    justify-content: flex-start;
    gap: 50px;
    align-items: center;
    padding: 10px 20px;
    /*background-color: rgba(255, 255, 255, 0.8);*/
    max-width: 1200px;
    /* Limit the width */
    width: 100%;
    margin: 0 auto;
    /* Center the navbar */
}

.nav a {
    color: black;
    text-decoration: none;
    margin: 0;
}

.nav a:hover {
    text-decoration: underline;
}

.nav-separator {
    margin: 0 10px;
    color: #0080ff;
}

.search input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 300px;
}

.summary {
    max-width: 1200px;
    /* Limit the width */
    margin: 0 auto;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.area-info {
    padding-left: 20px;
    flex: 1;
    margin-right: 20px;
    /* Ensures the container doesn't expand beyond intended size */
    overflow: hidden;
}

.area-info h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.suburbs-wrapper {
    max-height: 150px;
    /* Limit the height */
    overflow-y: auto;
    /* Enable vertical scrolling */
    overflow-x: hidden;
    /* Disable horizontal scrolling */
}

.suburbs {
    font-size: 12px;
    columns: 4;
    -webkit-columns: 4;
    -moz-columns: 4;
    list-style: none;
    padding: 0;
    margin: 0;
}

.suburbs li {
    margin-bottom: 5px;
}

.stats-info {

    text-align: center;
}

.participants,
.avgpayments {
    margin: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    height: 90px;
    width: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.participants {
    color: white;
    background-color: #0080ff;

}

.participants h3,
.avgpayments h3 {
    margin: 5px;
    font-size: 14px;
    margin-bottom: 10px;
}

.participants p,
.avgpayments p {
    font-size: 34px;
    margin: 0;
}

.avgpayments {
    background-color: #dfdfe1;
    color: #0080ff;
}

.avgpayments h3 {
    color: black;
}

.price {
    font-size: 20px;
    color: #555;
    font-weight: 600;

}


main {
    padding: 0 30px;
}

.category-list ul {
    list-style-type: none;
    padding: 0;
}

.category-list>ul>li {
    background: white;
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.category-list h2 {
    font-size: 27px;
    margin-bottom: 0.5rem;
    color: #000000;
    border-bottom: 1px solid #0080ff;
    padding-bottom: 0.5rem;
    margin-left: 20px;
    margin-right: 20px;
}

.category-list h3 {
    font-size: 17px;
    margin-bottom: 0.5rem;
    color: #0080ff;
    padding-left: 20px;
}

.triangle {
    height: 10px;
    margin-right: 5px;
}

.collapsible {
    display: none;
}

.collapsible.visible {
    display: block;
}


.category-list h4 {
    font-size: 13px;
    color: black;
    margin: 0px;
    padding-left: 20px;
    /*margin-bottom: 0.5rem;
    padding-left: 40px;*/
}

.available {
    font-size: 13px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    height: 70px;
    background-size: 100% 70px;
    /* 100% width, specified height */
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    position: relative;
    /* Set transparency level */
}

.available::before {
    content: "";
    position: absolute;
    top: 5;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60px;
    background-image: url('/imgs/slot_bg1.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    opacity: 0.5;
    /* Adjust this value to control transparency */
    z-index: -1;
    /* Make sure the overlay stays behind the content */
}

.available a {
    font-size: 13px;
    text-decoration: none;
}

.available a:hover {
    text-decoration: underline;
}

.status-dot {
    height: 13px;
    width: 13px;
    margin-right: 5px;
    /* Adjust spacing if needed */
}

.purchase-options {
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.provider {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-top: 1rem;
    padding: 0.5rem;
    /*	margin-left: 40px;
	margin-right: 40px;*/
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-image: url('/imgs/slot_bg1f.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
}

.provider-logo {
    max-width: 300px;
    max-height: 80px;

    margin-right: 1rem;
    width: auto;
    height: auto;
}

.provider-details {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.provider-details h5 {
    margin: 10px 0px;
    font-size: 1rem;
    color: #333;
}

.provider-contacts {
    display: grid;
    grid-template-columns: 0fr 1fr 0fr 1fr;
    /* Adjust the minmax value as needed */
    gap: 10px;
    align-items: center;
}

.provider-details p {
    margin: 0.2rem 0;
    font-size: 13px;
}

.provider-details a {
    color: #6A2875;
    text-decoration: none;
}

.provider-details a:hover {
    text-decoration: underline;
}

.contact-icon {
    height: 16px;
    width: 16px;
    margin-right: 5px;
    /* Adjust spacing if needed */
}


.stripe-logo {
    max-height: 25px;
    width: auto;
    height: auto;
}

.search-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    padding: 20px;
    width: 100%;
    margin: 0 auto;
}

.search-section label {
    font-size: 18px;
    margin-bottom: 10px;
}

.search-wrapper {
    width: 100%;
    max-width: 500px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 35px;
    background-color: white;
    display: flex;
    align-items: center;
}

.search-wrapper img {
    height: 15px;
    opacity: 0.4;
    margin-right: 10px;
}

#network-search {
    width: 100%;
    font-size: 16px;
    border: 0;
    outline: none;
}

.box-panel {
    margin: 1rem 0;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding-bottom: 20px !important;
}

.network-list h2 {
    font-size: 18px;
    margin-left: 20px;
}

.network-list ul {
    list-style-type: none;
    padding: 0;
}

.network-list li {
    background-color: white;
    margin-bottom: 2px;
    margin-left: 0px;
    padding: 2px 20px;
    border-bottom: 1px solid #ddd;
    transition: background-color 0.3s;
}

.state-section {
    margin: 20px 0px;
}

.network-list li:hover {
    background-color: #f1f1f1;
}

.network-list li span:hover {
    display: block;
}

.network-list a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.network-list a:hover {
    text-decoration: underline;
}

/* Footer styles */
footer {

    background-color: #696969;
    color: white;
    padding: 1rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    text-align: center;
}

footer .container img {
    max-height: 100px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}


/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tooltip a {
    font-size: 12px;
    font-weight: 600;
}

/* Tooltip text */
.tooltip .tooltiptext {
    font-size: 10px;
    visibility: hidden;
    width: 400px;
    background-color: #555;
    color: #fff;
    text-align: left;
    border-radius: 6px;
    padding: 10px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    /* Position above the link */
    left: 50%;
    margin-left: -150px;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    flex-wrap: wrap;
    max-height: 200px;
    /* Set a fixed height */
    overflow-y: auto;
    /* Enable vertical scrolling */
}

.tooltip .tooltiptext div div {
    /* width: 33.33%;
    padding: 5px; */
    box-sizing: border-box;
}

/* Tooltip arrow */
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    /* Arrow at the bottom */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when hovering over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

.lga-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    /* Adjust the minmax value as needed */
    column-gap: 10px;

}




/* Home page css */

.gallery-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.gallery-left,
.gallery-right {
    width: 50%;
    position: relative;
    /* Make the container a positioning context */
}

.gallery-left a,
.gallery-right a {
    text-decoration: none;
}

.gallery-left img {
    width: 100%;
}

.gallery-right img {
    width: 100%;
}

.gallery-title {
    text-align: center;
    margin: 0;
    padding: 10px 0px;
    width: 100%;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
    display: inline-block;
    color: white;
    position: absolute;
    top: 0;
    /* Align at the top */
    left: 0;
    font-size: 14px;
}

.gallery-left-title {
    background-color: #000000;
}

.gallery-right-title {
    background-color: #0080ff;
}

.gallery-button {
    bottom: 4px;
    /* Align at the bottom */
    left: 0;
    position: absolute;
    padding: 20px;
    border-bottom-left-radius: 22px;
    border-top-right-radius: 22px;
    opacity: 0.7;
}

.gallery-button span {
    padding: 10px;
    color: white;
    border: 1px;
    border-color: white;
    border-style: solid;
    border-radius: 8px;
    font-size: 14px;
}

.gallery-left-button {
    background-color: #000000;
}

.gallery-right-button {
    background-color: #0080ff;
}

.our-mission {
    text-align: center;
}

.our-mission h5 {
    font-size: 14px;
}

.our-mission p {
    font-size: 16px;
    color: #0080ff;
    font-weight: 600;
}

.mission-grid {
    display: flex;
    justify-content: space-around;
    /* Distribute items evenly */
    align-items: flex-start;
    /*Align items vertically center */
    padding: 20px;
    background-color: white;
    /* Background color */
    border-radius: 15px;
    /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* Subtle shadow */
    position: relative;
    margin-top: 80px;
}

.mission-item {
    text-align: center;
    max-width: 200px;
    /* Adjust max width as needed */
    position: relative;
}

.mission-item-icon {
    position: absolute;
    top: -50%;
    /* Move the icon up half of its height */
    left: 50%;
    transform: translateX(-50%);
}

.mission-item-icon img {
    width: 100px;
    /* Adjust icon size */
    height: 100px;
    /* Maintain aspect ratio */
    margin-bottom: 10px;
    /* Space between icon and title */
}

.mission-item-title {
    font-size: 16px;
    font-weight: bold;
    margin: 60px 0 10px;
}

.mission-item-desc {
    font-size: 12px;
    color: #666;
    /* Description text color */
}

.why-join-section {

    padding: 40px 20px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.why-join-content {
    /*background-image: url('/imgs/why-join.png'); */
    display: flex;
    align-items: center;
    gap: 20px;
}

.why-join-left,
.why-join-right {
    width: 50%;
}

.why-join-left img {
    width: 100%;
    max-width: 600px;
    /* Adjust as needed */
}

.why-join-right {
    flex: 1;
    padding: 20px;
}

.why-join-right h2 {
    color: #0070c9;
    /* Adjust the color as needed */
    margin-bottom: 20px;
}

.why-join-right ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.why-join-right ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.why-join-right ul li:before {
    content: '✔';
    color: #0070c9;
    margin-right: 10px;
}

.join-now-btn {
    background-color: #0070c9;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.testimonial-section {
    display: none;
    margin-top: 40px;
}

.testimonial-section h2 {
    text-align: center;
    color: #0070c9;
    margin-bottom: 20px;
}

.testimonial-content {
    display: flex;
    justify-content: space-around;
    gap: 20px;
}

.testimonial-item {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.testimonial-author span {
    font-weight: bold;
}

.rating {
    color: #FFD700;
    /* Gold color for stars */
}


/* terms and conditions  */

.terms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    color: #333;
}

.terms-container h2 {
    color: #0056b3;
    margin-top: 0;
}

.terms-container ul {
    padding-left: 20px;
    list-style-type: disc;
}

.terms-container li {
    margin-bottom: 10px;
}

/* contact-form */
.contact-form-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.contact-form-container h2 {
    color: #0056b3;
    margin-bottom: 20px;

}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    max-width: 500px;
}

.contact-form label {
    flex: 1 1 100%;
    margin-top: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-top: 5px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    margin-top: 20px;
}

.contact-form button:hover {
    background-color: #004494;
}

.buy-button-and-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .contact-form {
        flex-direction: column;
    }

    .header-container {
        padding: 30px;
        flex-direction: row;
    }

    .header-container a {
        padding: 0px;
    }

    .mission {
        padding: 0px 30px 20px 30px;
    }

    .search-section {
        padding: 10px 30px;
    }

    .navbar {
        padding: 10px 30px;
    }

    /* Home page css */

    .gallery-row {
        flex-direction: column;
        align-items: center;
    }

    .gallery-left,
    .gallery-right {
        width: auto;

    }



    /*   */

    header h1 {
        font-size: 2rem;
    }

    header {
        display: flex;
        flex-direction: column;
    }

    #network-search {
        width: 60%;
    }

    .category-list>ul>li {
        margin: 0.5rem 0;
        padding: 0.5rem;
    }

    .category-list ul ul ul {
        padding-left: 20px;
    }

    .category-list h2 {
        font-size: 1.25rem;
    }

    .category-list h3 {
        font-size: 1rem;
        padding-left: 10px;
    }

    .category-list h4 {
        font-size: 0.875rem;
        padding-left: 20px;
    }

    .tooltip .tooltiptext {
        width: 300px;
    }

    .stats-info {
        display: flex;
    }

    .participants,
    .contact-info {
        width: 50%;
        margin: 10px 30px;
        padding: 0 60px;
    }

    .participants h3,
    .avgpayments h3 {
        font-size: 14px;
    }

    .participants p,
    .avgpayments p {
        font-size: 25px;
        margin: 0;
    }

    .suburbs {
        columns: 3;
        -webkit-columns: 3;
        -moz-columns: 3;
    }

    .provider {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.5rem;
    }

    .available {
        flex-direction: column;
        align-items: flex-start;
        /*margin-left: 20px;
        margin-right: 20px;*/
        padding: 0.5rem;
        height: auto;
    }

    .available::before {
        height: 124px;
        opacity: 0.1;
    }


    .available h4 {
        padding-left: 0px !important;
    }

    .purchase-options {
        align-items: center;
        padding-top: 10px;
        gap: 20px;
    }

    .provider-logo {
        margin-bottom: 0.5rem;
        max-width: 300px;
        max-height: 90px;
    }

    .provider-details h3 {
        font-size: 14px;
    }

    .provider-details p {
        font-size: 12px;
    }

    .provider-contacts {
        display: grid;
        grid-template-columns: 0fr 1fr;
        /* Adjust the minmax value as needed */
        gap: 0px;
        margin: 0px;
        align-items: center;
    }

    footer .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
        text-align: center;
    }

    .network-list li {
        background-color: white;
        margin-bottom: 2px;
        margin-left: 5px;
        padding: 2px 5px;
        border-bottom: 1px solid #ddd;
        transition: background-color 0.3s;
    }

    .summary {
        flex-direction: column;
    }

    .mission h1 {
        font-size: 28px;
    }

    .mission p {
        max-width: 90%;
        /* Set maximum width for the mission section */
    }

    .mission h3 {
        max-width: 90%;
        /* Set maximum width for the mission section */
    }
}

@media (max-width: 480px) {
    .bluesafe-logo {
        max-height: 40px;
    }

    header img {
        max-height: 70px;
    }

    header h1 {
        font-size: 1.75rem;
    }

    .mission h1 {
        font-size: 24px;
    }

    .search-wrapper {
        width: 80%;
    }

    .stats-info {
        display: flex;
    }

    .participants,
    .contact-info {
        width: 50%;
        margin: 10px 10px;
        padding: 0 10px;
    }

    .participants h3,
    .avgpayments h3 {
        font-size: 10px;
    }

    .participants p,
    .avgpayments p {
        font-size: 25px;
        margin: 0;
    }

    .suburbs {
        columns: 3;
        -webkit-columns: 3;
        -moz-columns: 3;
    }

    .search-section label {
        font-size: 16px;
    }

    #network-search {
        width: 60%;
        font-size: 14px;
        padding: 8px;
    }

    .tooltip .tooltiptext {
        width: 200px;
    }

    .category-list h2 {
        font-size: 1rem;
        margin-left: 10px;
        margin-right: 10px;
    }

    .category-list h3 {
        font-size: 14px;
        padding-left: 0px;
        margin-left: 10px;
        margin-right: 10px;
    }

    .category-list h4 {
        font-size: 0.75rem;
        padding-left: 0px;
    }


    .mission-grid {
        flex-direction: column;
        align-items: center;
    }

    .mission-item {
        text-align: center;
        max-width: 200px;
        /* Adjust max width as needed */
        position: relative;
    }

    .mission-item-icon {
        position: initial;
        transform: translateX(0);
    }

    .mission-item-icon img {
        width: 100px;
        /* Adjust icon size */
        height: 100px;
        /* Maintain aspect ratio */
        margin-bottom: 10px;
        /* Space between icon and title */
    }

    .mission-item-title {
        font-size: 16px;
        font-weight: bold;
        margin: 0px;
    }

    .mission-item-desc {
        font-size: 12px;
        color: #666;
        /* Description text color */
        margin-bottom: 20px;
    }



    .why-join-content {
        flex-direction: column;
    }

    .why-join-left,
    .why-join-right {
        width: 100%;
    }

    .testimonial-content {
        flex-direction: column;
    }


    .lga-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .summary {
        margin: 0 auto;
        width: auto
    }

    .suburbs {
        font-size: 10px;
    }

    .nav a {
        font-size: 12px;
    }

    .nav span {
        font-size: 12px;
    }

    .purchase-options {
        flex-direction: column;
        align-items: center;
        padding-top: 10px;
        gap: 5px;
    }

}