/* Global Styles */
:root {
    --primary-purple: #6A0DAD;
    --light-purple: #8A2BE2;
    --dark-purple: #4B0082;
    --accent-gold: #FFD700;
    --text-dark: #333;
    --text-light: #f8f9fa;
    --bg-light: #f8f9fa;
    --bg-dark: #212529;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-purple);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--light-purple);
    border-radius: 2px;
}

.text-muted-custom {
    color: #6c757d;
}

/* Navbar */
.navbar {
    background-color: var(--dark-purple);
    padding: 0.8rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.navbar-brand .logo-img {
    height: 40px;
    width: auto;
}

.navbar-brand .site-title {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.offcanvas {
    background-color: var(--dark-purple);
    color: var(--text-light);
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-title {
    color: var(--text-light);
}

.btn-close {
    filter: invert(1);
}

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

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

/* Buttons */
.btn-primary {
    background-color: var(--light-purple);
    border-color: var(--light-purple);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    text-decoration: none;
    white-space: normal;
    word-break: break-word;
    text-align: center;
}

.btn-primary:hover {
    background-color: var(--primary-purple);
    border-color: var(--primary-purple);
    color: var(--text-light);
}

/* Hero Section */
.hero-section {
    background: url('media/graphics/city-skyline-investment_3.jpg') no-repeat center center/cover;
    min-height: 80vh;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
}

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

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-section p.lead {
    font-size: 1.25rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.hero-svg-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    fill: var(--bg-light);
}

/* About Section */
.about-section {
    background-color: var(--bg-light);
}

.about-section ul {
    list-style: none;
    padding-left: 0;
}

.about-section ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.about-section ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--light-purple);
    font-weight: bold;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
}

.service-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card .icon-wrapper {
    font-size: 3rem;
    color: var(--accent-gold);
    line-height: 1;
}

.service-card .card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.service-card .card-text {
    color: rgba(255, 255, 255, 0.8);
    flex-grow: 1;
}

/* Unique backgrounds for service cards */
.service-bg-1 { background-color: rgba(106, 13, 173, 0.7); }
.service-bg-2 { background-color: rgba(138, 43, 226, 0.7); }
.service-bg-3 { background-color: rgba(106, 13, 173, 0.7); }
.service-bg-4 { background-color: rgba(138, 43, 226, 0.7); }
.service-bg-5 { background-color: rgba(106, 13, 173, 0.7); }
.service-bg-6 { background-color: rgba(138, 43, 226, 0.7); }

/* How It Works Section */
.how-it-works-section {
    background-color: var(--bg-light);
}

.process-step-col {
    position: relative;
    z-index: 1;
}

.process-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.process-card .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-purple);
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-purple);
}

.process-card .icon-wrapper {
    font-size: 2.5rem;
    color: var(--dark-purple);
    margin-bottom: 1rem;
}

.process-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-purple);
    margin-bottom: 0.5rem;
}

.process-card .card-text {
    color: var(--text-dark);
}

.process-line {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(to right, var(--light-purple), var(--primary-purple));
    z-index: 0;
    display: none;
}

@media (min-width: 992px) {
    .process-line {
        display: block;
        width: calc(75% - 100px);
        left: calc(50% + 50px);
        transform: translateX(-50%);
    }
    .process-step-col:nth-child(even) .process-card {
        margin-top: 50px;
    }
}

/* Portfolio Section */
.portfolio-section {
    background-color: #f0f0f5;
}

.portfolio-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.portfolio-item-alt {
    background-color: #e6e6eb;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.portfolio-description h3 {
    color: var(--dark-purple);
    font-weight: 600;
}

.portfolio-description ol {
    padding-left: 0;
    list-style: none;
}

.portfolio-description ol li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.portfolio-description .accent-bullet {
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    background-color: var(--accent-gold);
    color: var(--dark-purple);
    border-radius: 50%;
    font-weight: 700;
    margin-right: 10px;
    font-size: 0.9rem;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(45deg, var(--primary-purple) 0%, var(--dark-purple) 100%);
    position: relative;
    overflow: hidden;
}

.timeline-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    padding: 50px 0;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 4px;
    background: linear-gradient(to right, var(--accent-gold), var(--light-purple));
    z-index: 0;
}

.timeline-point {
    position: relative;
    z-index: 1;
    text-align: center;
    flex: 1;
    max-width: 200px;
}

.stat-circle {
    width: 100px;
    height: 100px;
    background-color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-purple);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.stat-text {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 600;
}

/* Team Section */
.team-section {
    background-color: var(--bg-light);
}

.team-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.team-card img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 4px solid var(--light-purple);
}

.team-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-purple);
}

/* FAQ Section */
.faq-section {
    background-color: #f0f0f5;
}

.accordion-item {
    border: none;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    background-color: #fff;
    color: var(--dark-purple);
    font-weight: 600;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background-color: var(--light-purple);
    color: var(--text-light);
    border-color: var(--light-purple);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.accordion-body {
    background-color: #fff;
    color: var(--text-dark);
    padding: 1.5rem;
    border-top: 1px solid #eee;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 100%);
}

.contact-form {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--text-light);
}

.contact-form .form-label {
    color: var(--text-light);
    font-weight: 600;
}

.contact-form .form-control,
.contact-form .form-select {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-light);
    padding: 0.75rem 1rem;
}

.contact-form .form-control::placeholder,
.contact-form .form-select {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 0.25rem rgba(255, 215, 0, 0.25);
    color: var(--text-light);
}

.contact-form .form-select option {
    background-color: var(--dark-purple);
    color: var(--text-light);
}

.contact-form .invalid-feedback {
    color: var(--accent-gold);
}

/* Footer */
.footer-section {
    background-color: #2c3e50;
    color: rgba(255, 255, 255, 0.7);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-brand .logo-img {
    height: 40px;
    width: auto;
}

.footer-brand .site-title-footer {
    color: var(--text-light);
    font-size: 1.6rem;
    font-weight: 700;
    white-space: nowrap;
}

.footer-section h5 {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    padding-left: 0;
    list-style: none;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-gold);
}

.footer-section i {
    color: var(--accent-gold);
}

/* Responsive Typography */
@media (min-width: 1024px) {
    .site-title { font-size: 2.2rem; }
    .hero-section h1 { font-size: 4.5rem; }
    .section-title { font-size: 3rem; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .site-title { font-size: 2rem; }
    .hero-section h1 { font-size: 3.8rem; }
    .section-title { font-size: 2.8rem; }
}

@media (max-width: 767px) {
    .navbar-brand .logo-img { height: 35px; }
    .navbar-brand .site-title { font-size: 1.5rem; }
    .hero-section h1 { font-size: 2.2rem; }
    .hero-section p.lead { font-size: 1rem; }
    .section-title { font-size: 1.8rem; }
    .section-title::after { width: 60px; }
    .service-card .icon-wrapper { font-size: 2.5rem; }
    .service-card .card-title { font-size: 1.3rem; }
    .process-card .step-number { width: 40px; height: 40px; font-size: 1.5rem; }
    .process-card .icon-wrapper { font-size: 2rem; }
    .process-card .card-title { font-size: 1.1rem; }
    .timeline-container { flex-direction: column; align-items: center; }
    .timeline-line { display: none; }
    .timeline-point { margin-bottom: 30px; width: 100%; max-width: 250px; }
    .stat-circle { width: 80px; height: 80px; font-size: 1.8rem; }
    .stat-text { font-size: 1rem; }
    .team-card img { width: 100px; height: 100px; }
    .team-card h4 { font-size: 1.2rem; }
    .accordion-button { font-size: 1rem; padding: 1rem; }
    .footer-brand .site-title-footer { font-size: 1.4rem; }
    .footer-section h5 { font-size: 1.3rem; }
    .hero-section {
        min-height: 100dvh;
        padding-top: 15px;
    }
}

/* Specific mobile adjustments for navigation */
@media (max-width: 1199px) {
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
    }
    .navbar-nav .nav-item {
        width: 100%;
    }
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        width: 100%;
    }
}

/* Ensure buttons do not overflow */
.btn {
    display: inline-block;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    overflow: visible;
}
/* Base styles for the content slot container */
.complianceCoreSlot {
    padding-top: 25px;
    padding-left: 25px;
    padding-right: 25px;
    /* Optional: You might want a bottom padding too, e.g., padding-bottom: 25px; */
}

/* Heading 1 styles */
.complianceCoreSlot h1 {
    font-size: 2rem; /* Approximately 32px, not too large */
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.2;
}

/* Heading 2 styles */
.complianceCoreSlot h2 {
    font-size: 1.75rem; /* Approximately 28px */
    margin-top: 1.4em;
    margin-bottom: 0.7em;
    line-height: 1.3;
}

/* Heading 3 styles */
.complianceCoreSlot h3 {
    font-size: 1.5rem; /* Approximately 24px */
    margin-top: 1.3em;
    margin-bottom: 0.6em;
    line-height: 1.4;
}

/* Heading 4 styles */
.complianceCoreSlot h4 {
    font-size: 1.25rem; /* Approximately 20px */
    margin-top: 1.2em;
    margin-bottom: 0.5em;
    line-height: 1.5;
}

/* Heading 5 styles */
.complianceCoreSlot h5 {
    font-size: 1.1rem; /* Approximately 17.6px, slightly larger than base text */
    margin-top: 1.1em;
    margin-bottom: 0.4em;
    line-height: 1.6;
    font-weight: bold; /* Make it bold to stand out */
}

/* Paragraph styles */
.complianceCoreSlot p {
    font-size: 1rem; /* Base font size, typically 16px */
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 1em; /* Spacing between paragraphs */
}

/* Unordered list styles */
.complianceCoreSlot ul {
    list-style: disc; /* Default bullet style */
    margin-top: 1em;
    margin-bottom: 1em;
    margin-left: 2em; /* Indentation for the list */
    padding-left: 0; /* Reset default padding, rely on margin-left for indentation */
}

/* List item styles */
.complianceCoreSlot li {
    font-size: 1rem; /* Inherit or explicitly set base font size */
    line-height: 1.6;
    margin-bottom: 0.5em; /* Spacing between list items */
}
