body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --primary-color: #FFD700; /* Gold/Yellow */
    --secondary-color: #343a40; /* Dark Grey */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --dark-bg: #212529;
}

/* General Styles */
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--secondary-color);
}

@media (min-width: 768px) and (max-width: 1023px) {
    .section-title {
        font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: clamp(1.5rem, 5vw, 1.8rem);
    }
}

.lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-bg);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #e0b800;
    border-color: #e0b800;
    color: var(--dark-bg);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: #fff;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: #fff;
    color: var(--dark-bg);
}

/* Header */
.navbar-brand .site-name-text {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    color: var(--secondary-color);
}

@media (min-width: 768px) and (max-width: 1023px) {
    .navbar-brand .site-name-text {
        font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    }
}

@media (max-width: 767px) {
    .navbar-brand .site-name-text {
        font-size: clamp(1rem, 4vw, 1.25rem);
    }
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-toggler {
    border: none;
}

.offcanvas-body {
    overflow-x: auto;
}

/* Hero Section */
.hero-section {
    background-image: url('uploads/content/investment-audit-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    position: relative;
    padding-top: 100px; /* Adjust for fixed header */
    padding-bottom: 50px;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section h1 {
        font-size: clamp(2.2rem, 4vw, 3.5rem);
    }
}

@media (max-width: 767px) {
    .hero-section h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
}

.feature-block {
    background-color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    background-color: rgba(255, 215, 0, 0.1);
}

/* About Us Section */
.avatar-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

/* Services Section */
.process-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: relative;
    padding: 2rem 0;
}

.process-step {
    flex: 1 1 250px;
    max-width: 300px;
    text-align: center;
    padding: 1.5rem;
    background-color: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: auto; /* Allow height to adjust */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.process-step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--dark-bg);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.process-arrow {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0 1rem;
    align-self: center;
    display: none; /* Hidden by default on small screens */
}

@media (min-width: 992px) {
    .process-arrow {
        display: block;
    }
}

@media (max-width: 991px) {
    .process-container {
        flex-direction: column;
        align-items: center;
    }
    .process-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
        display: block;
    }
    .process-step {
        max-width: 80%;
    }
}

/* Team Section (Leadership) */
.team-card {
    background-color: #fff;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.avatar-img-lg {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 4px solid var(--primary-color);
}

.quote-mark {
    color: var(--primary-color);
    opacity: 0.6;
    display: block;
    line-height: 0.7;
    margin-bottom: -0.5rem;
}

.quote-mark-end {
    color: var(--primary-color);
    opacity: 0.6;
    display: block;
    line-height: 0.7;
    margin-top: -0.5rem;
    text-align: right;
}

/* Industries Section */
.industry-card {
    background-color: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0.75rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 180px; /* Ensure consistent height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.industry-card .industry-description {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 0.9rem;
}

.industry-card:hover .industry-description {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Stats Section */
.stats-timeline {
    height: 8px;
    background: linear-gradient(to right, var(--primary-color), #f0c200, var(--primary-color));
    border-radius: 4px;
    margin-top: 3rem;
    position: relative;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%; /* Initial width for animation */
    background: linear-gradient(to right, var(--primary-color), #f0c200, var(--primary-color));
    border-radius: 4px;
}

.stats-timeline .stats-point {
    position: relative;
    background-color: var(--dark-bg);
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    flex: 1;
    margin: 0 10px; /* Spacing between points */
    transform: translateY(-50%); /* Center vertically on the line */
    top: 50%;
    min-width: 150px;
}

.stats-timeline .stats-point h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stats-timeline .stats-point p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .stats-timeline {
        flex-direction: column;
        height: auto;
        background: none;
        border-radius: 0;
    }
    .timeline-line {
        display: none; /* Hide horizontal line on mobile */
    }
    .stats-timeline .stats-point {
        width: 100%;
        max-width: 300px;
        margin: 1rem auto;
        transform: translateY(0%);
        top: auto;
    }
}

/* FAQ Section */
.accordion-button {
    font-weight: 600;
    color: var(--secondary-color);
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: #fff;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

.accordion-item {
    border: 1px solid #dee2e6;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    overflow: hidden;
}

.accordion-item:last-of-type {
    margin-bottom: 0;
}

/* Contact Form Section */
.form-label {
    font-weight: 600;
}

.form-control, .form-select {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border-color: #ced4da;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
}

/* Footer */
footer {
    background-color: var(--dark-bg) !important;
}

footer a {
    color: #adb5bd;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--primary-color);
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1070; /* Higher than Bootstrap modals (1050) */
    border-top: 3px solid var(--primary-color);
}

.z-index-cookie-banner {
    z-index: 1070;
}

/* Responsive Typography for Global Elements */
@media (max-width: 1100px) {
    .navbar-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }
    .navbar-nav .nav-item {
        flex-shrink: 0;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 80px;
    }
    .hero-section .lead {
        font-size: 1rem;
    }
    .feature-block {
        padding: 1rem;
    }
    .icon-circle {
        width: 60px;
        height: 60px;
    }
    .icon-circle .fs-3 {
        font-size: 1.5rem !important;
    }
    .avatar-img {
        width: 100px;
        height: 100px;
    }
    .avatar-img-lg {
        width: 120px;
        height: 120px;
    }
    .team-card .blockquote p {
        font-size: 0.9rem;
    }
    .industry-card .fs-1 {
        font-size: 2.5rem !important;
    }
    .industry-card .industry-description p {
        font-size: 0.8rem;
    }
    .stats-timeline .stats-point h2 {
        font-size: 2.5rem;
    }
    .stats-timeline .stats-point p {
        font-size: 0.85rem;
    }
    .accordion-button {
        font-size: 0.95rem;
    }
    .accordion-body {
        font-size: 0.9rem;
    }
}
/* Wrapper for policy content */
.policyScopeWrap {
    padding-top: 130px; /* Top padding for the content area */
    padding-bottom: 30px; /* Bottom padding for the content area */
    padding-left: 20px; /* Left padding for the content area */
    padding-right: 20px; /* Right padding for the content area */
    max-width: 1000px; /* Optional: Constrain content width for readability */
    margin-left: auto; /* Optional: Center the content wrapper */
    margin-right: auto; /* Optional: Center the content wrapper */
}

/* Heading 1 styles */
.policyScopeWrap h1 {
    font-size: 1.75rem; /* Approximately 28px on a 16px base font size */
    margin-top: 1.5em; /* Space above the heading */
    margin-bottom: 0.75em; /* Space below the heading */
    line-height: 1.2; /* Line height for better readability */
    font-weight: 700; /* Bold font weight */
}

/* Heading 2 styles */
.policyScopeWrap h2 {
    font-size: 1.5rem; /* Approximately 24px */
    margin-top: 1.25em;
    margin-bottom: 0.6em;
    line-height: 1.25;
    font-weight: 700;
}

/* Heading 3 styles */
.policyScopeWrap h3 {
    font-size: 1.25rem; /* Approximately 20px */
    margin-top: 1em;
    margin-bottom: 0.5em;
    line-height: 1.3;
    font-weight: 700;
}

/* Heading 4 styles */
.policyScopeWrap h4 {
    font-size: 1.1rem; /* Approximately 17.6px */
    margin-top: 0.8em;
    margin-bottom: 0.4em;
    line-height: 1.4;
    font-weight: 700;
}

/* Heading 5 styles */
.policyScopeWrap h5 {
    font-size: 1rem; /* Base font size, approximately 16px */
    margin-top: 0.7em;
    margin-bottom: 0.3em;
    line-height: 1.5;
    font-weight: 600; /* Slightly less bold than h1-h4 */
}

/* Paragraph styles */
.policyScopeWrap p {
    font-size: 1rem; /* Base font size, approximately 16px */
    margin-bottom: 1em; /* Space between paragraphs */
    line-height: 1.6; /* Line height for improved readability */
}

/* Unordered list styles */
.policyScopeWrap ul {
    margin-top: 1em; /* Space above the list */
    margin-bottom: 1em; /* Space below the list */
    padding-left: 25px; /* Indent for bullet points */
    list-style-type: disc; /* Default bullet style (filled circle) */
}

/* List item styles */
.policyScopeWrap li {
    margin-bottom: 0.5em; /* Space between list items */
    line-height: 1.5; /* Line height for list item content */
}
main {
    overflow: hidden;
}