/* Global Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
}

html {
    scroll-behavior: smooth;
}

/* Header and Navigation */
.top-bar {
    background-color: #000;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.top-bar img {
    height: 50px;
}

.top-bar nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.top-bar .cta-button {
    padding: 8px 16px;
    font-size: 14px;
}

/* Main page banner (index.html) */
header {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 50px;
    color: white;
    width: 100%;
}

/* Business Exit Planning banner */
.business-exit-banner {
    width: 100%;
    height: 400px;
    position: relative;
    margin-top: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.business-exit-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* This centers the image both vertically and horizontally */
}

.business-exit-banner .heading-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    color: white;
}

/* Charity banner */
.charity-banner {
    width: 100%;
    height: 400px;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

.charity-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.charity-banner .heading-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    color: white;
}

/* Property banner */
.property-banner {
    width: 100%;
    height: 400px;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

.property-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.property-banner .heading-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    color: white;
}

/* Explore banner */
.explore-banner {
    width: 100%;
    height: 400px;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

.explore-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.explore-banner .heading-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    padding: 30px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    text-align: center;
    color: white;
}

/* Common heading container styles */
.heading-container {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    margin-right: 20px;
}

.heading-container h1 {
    font-size: 36px;
    margin: 0 0 10px 0;
}

.heading-container h2 {
    font-size: 24px;
    margin: 0;
}

/* Navigation Dropdown Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: bold;
}

.dropdown-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 4px;
    margin-top: 5px;
    transition: opacity 0.2s, visibility 0.2s;
    text-align: left; /* Add this line */
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
}

.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
}

/* Main Content Sections */
section {
    padding: 50px 20px;
    text-align: center;
}

section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

section p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Under Pressure Section */
.under-pressure {
    padding: 50px 0;
}

.under-pressure .content-wrapper {
    display: flex;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.under-pressure .image-container {
    flex: 1;
    max-width: 50%;
    padding-right: 20px;
}

.under-pressure .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.under-pressure .text-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.under-pressure h2 {
    margin-top: 0;
}

/* List Styles */
.cross-list {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

.cross-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    text-align: left;
}

.cross-list li::before {
    content: '\2715';
    position: absolute;
    left: 0;
    top: 0;
    color: #FF0000;
    font-weight: bold;
    font-size: 1.2em;
}

.tick-list {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
    text-align: left;
}

.tick-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.tick-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0;
    color: #4B0082;
    font-weight: bold;
    font-size: 1.2em;
}



/* Services Section */
.services {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service {
    flex: 1;
    min-width: 250px;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
}

/* Service Packages Section */
.service-packages {
    background-color: #f9f9f9;
    padding: 50px 20px;
    text-align: center;
}

.package-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

/* Package Styles */
.package {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 300px;
    transition: transform 0.3s ease;
}

.package:hover {
    transform: translateY(-10px);
}

.package.featured {
    border: 2px solid #4B0082;
    position: relative;
}

.package.featured::before {
    content: "Most Popular";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #4B0082;
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
}

.package h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.price {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #4B0082;
}

.package ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 30px;
}

.package li {
    margin-bottom: 10px;
    text-align: left;
    padding-left: 25px;
    position: relative;
}

.package li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4B0082;
}

/* Company Overview Section */
.company-overview {
    background-color: #f4f4f4;
    padding: 50px 20px;
    text-align: center;
}

.company-overview h2 {
    color: #4B0082;
    margin-bottom: 20px;
}

.company-overview p {
    max-width: 800px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.company-overview strong {
    color: #4B0082;
}

.read-more-btn {
    background-color: #4B0082;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.read-more-btn:hover {
    background-color: #3a006c;
}

.hidden-content {
    display: none;
    transition: all 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.hidden-content.show {
    display: block;
}

.hidden-content p {
    margin-bottom: 15px;
}

/* Get Started Section */
#get-started {
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

#get-started h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.steps-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease;
    position: relative;
    padding-top: 60px;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background-color: #4B0082;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
}

.step h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #4B0082;
}

.step p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Explore Page Styles */
#explore-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.explore-sections {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.explore-section {
    flex: 1;
    max-width: 400px;
}

.explore-section h3 {
    margin-bottom: 20px;
}

.explore-section ul {
    list-style-type: none;
    padding: 0;
}

.explore-section li {
    margin-bottom: 10px;
}

.explore-cta {
    font-size: 18px;
    margin-top: 40px;
}

/* Partner box styling */
.partner-box {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 800px;
    margin: 30px auto;
    text-align: left;
}

.partner-box ul {
    list-style-type: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.partner-box li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.partner-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4B0082;
}

/* Down Arrow Styles */
.down-arrow {
    text-align: center;
    margin: 40px 0;
}

.down-arrow img {
    width: 50px;
    height: auto;
    animation: bounce 2s infinite;
}

.down-arrow.small-arrow {
    margin: 20px 0 0 0;
}

.down-arrow.small-arrow img {
    width: 30px;
    height: auto;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* CTA Button Styles */
.cta-button {
    background-color: #4B0082;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: #3a006c;
}

/* Package CTA button spacing */
.cta-container {
    margin-top: 40px;
    text-align: center;
}


/* Testimonial Section */
.testimonial {
    background-color: #f4f4f4;
    padding: 30px 20px;
    margin: 20px 0;
    text-align: center;
}

/* Mobile Menu Styles */
.mobile-menu-icon {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #000;
    padding: 10px 0;
    z-index: 999;
}

.mobile-menu a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
}

.mobile-menu .cta-button {
    display: inline-block;
    margin: 10px 20px;
}

.mobile-dropdown-btn {
    width: 100%;
    text-align: left;
    padding: 10px 20px;
    background: none;
    border: none;
    color: white;
    font-size: inherit;
}

.mobile-dropdown-content {
    display: none;
    background-color: rgba(255,255,255,0.1);
}

.mobile-dropdown-content.show {
    display: block;
}

.mobile-menu .sectors-dropdown {
    width: 100%;
    padding: 10px 20px;
    color: white;
    background: none;
    border: none;
    text-align: left;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
}

.mobile-menu .sectors-dropdown:after {
    content: '▼';
    font-size: 12px;
    margin-left: 5px;
}

.mobile-menu .mobile-dropdown-content {
    display: none;
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu .mobile-dropdown-content.show {
    display: block;
}

.mobile-menu .mobile-dropdown-content a {
    padding: 8px 35px;
}

.mobile-menu .mobile-dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}

.popup-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Cookie Consent Styles */
#cookie-consent-banner, 
#cookie-settings-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f1f1f1;
    padding: 20px;
    text-align: center;
    z-index: 9999;
}

#cookie-settings-modal {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: auto;
}

#cookie-consent-banner button, 
#cookie-settings-modal button {
    margin: 10px;
    padding: 5px 10px;
}

/* Footer Styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

footer p {
    margin: 5px 0;
}

footer p:first-child {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
}

footer a:hover {
    color: #4B0082;
    text-decoration: underline;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .top-bar {
        position: relative;
        flex-wrap: wrap;
    }

    .top-bar img {
        height: 40px;
    }

    .top-bar nav {
        display: none;
    }

    .mobile-menu-icon {
        display: block;
        margin-left: auto;
    }

    header {
        background-position: left center;
    }

    .business-exit-banner,
    .charity-banner,
    .property-banner,
    .explore-banner {
        height: 300px;
        margin-top: 60px;
    }

    .heading-container h1 {
        font-size: 28px;
    }

    .heading-container h2 {
        font-size: 18px;
    }

    .under-pressure .content-wrapper {
        flex-direction: column;
    }

    .under-pressure .image-container {
        flex: 1;
        max-width: 50%;
        padding-right: 20px;
        overflow: hidden; /* Ensure the image doesn't spill out */
        display: flex;    /* Enable proper image centering */
        align-items: center;
        justify-content: center;
    }

    .under-pressure .image-container img {
        height: auto;
        max-height: 400px;
    }


    .steps-container {
        flex-direction: column;
        align-items: center;
    }

    .step {
        width: 100%;
        max-width: 100%;
    }

    .services {
        flex-direction: column;
        align-items: center;
    }

    .service {
        width: 100%;
        max-width: 500px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 28px;
    }

    header h2 {
        font-size: 18px;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .package h3 {
        font-size: 20px;
    }

    .price {
        font-size: 28px;
    }

    .popup-content {
        width: 95%;
        margin: 10% auto;
    }
}

/* Login Button Style */
.login-button {
    padding: 8px 16px;
    border: 1px solid white;
    border-radius: 4px;
}

/* Briefing Notes Section */
#briefing-notes {
    padding: 50px 20px;
    background-color: #fff;
}
.briefing-container {
    max-width: 1200px;
    margin: 0 auto;
}
.briefing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}
.briefing-table tr {
    border-bottom: 1px solid #eee;
}
.briefing-table tr:last-child {
    border-bottom: none;
}
.thumbnail-cell {
    width: 10%;
    padding: 20px 20px 20px 0;
    vertical-align: top;
}
.thumbnail-cell img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 360px !important;
    object-fit: contain !important;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.content-cell {
    padding: 20px;
    vertical-align: top;
}
.content-cell h3 {
    color: #4B0082;
    margin: 0 0 15px 0;
    font-size: 24px;
}
.content-cell p {
    margin: 0;
    line-height: 1.6;
    font-size: 16px;
}
.link-cell {
    width: 150px;
    padding: 20px 0 20px 20px;
    vertical-align: middle;
}
.report-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.report-link {
    display: block;
    padding: 8px 16px;
    background-color: #4B0082;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    text-align: center;
    transition: background-color 0.3s ease;
}
.report-link:hover {
    background-color: #3a006c;
}
.pdf-link {
    background-color: #666;
}
.pdf-link:hover {
    background-color: #4d4d4d;
}

.audio-link {
    background-color: #4B0082; /* Same purple as the primary button color */
}
.audio-link:hover {
    background-color: #3a006c; /* Same hover color as other buttons */
}
/* Media Queries */
@media (max-width: 768px) {
    .briefing-table,
    .briefing-table tbody,
    .briefing-table tr,
    .briefing-table td {
        display: block;
    }
    .thumbnail-cell {
        width: 100%;
        text-align: center;
        padding: 20px 20px 0 20px;
    }
    .thumbnail-cell img {
        max-width: 250px !important; /* Adjusted for mobile */
        margin: 0 auto;
    }
    .content-cell {
        padding: 20px;
    }
    .link-cell {
        width: 100%;
        padding: 0 20px 20px 20px;
    }
    .report-links {
        flex-direction: row;
        justify-content: center;
        gap: 15px;
    }
    .report-link {
        min-width: 120px;
    }
}

/* Report Page Styles */
.report-header {
    padding: 40px 20px;
    background-color: #f9f9f9;
    text-align: center;
    margin-bottom: 30px;
}

.report-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.action-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #4B0082;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

.action-button:hover {
    background-color: #3a006c;
}

.report-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 30px;
}

/* Print styles */
@media print {
    .action-buttons {
        display: none;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .action-buttons {
        position: fixed;
        bottom: 20px;
        top: auto;
        right: 20px;
        transform: none;
        flex-direction: row;
    }
}