/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: #212529;
    text-align: center; /* All headings centered as per requirements */
}

a {
    color: #007bff; /* Default link color */
    text-decoration: none;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: block;
    color: #212529;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: auto;
    margin-left: auto;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 2px;
}

.btn-primary {
    background-color: #6a11cb; /* Purple accent */
    border-color: #6a11cb;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #2575fc; /* Blue accent */
    border-color: #2575fc;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-secondary:hover {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.text-primary {
    color: #6a11cb !important; /* Consistent primary color */
}

/* Header */
.main-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.logo-img {
    max-height: 50px;
    width: auto;
}

/* Hero Section */
.hero-section {
    background-image: url('assets/content/abstract-software-pattern_2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
    min-height: 600px;
    color: #212529; /* Ensure text is visible on light background */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7); /* Soft light overlay */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #212529;
}

.hero-section p.lead {
    font-size: 1.5rem;
    color: #555;
}

.hero-section p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #444;
}

/* About Section */
.about-section img {
    max-height: 350px;
    object-fit: cover;
    width: 100%;
}

.about-section .list-unstyled li {
    display: flex;
    align-items: flex-start;
}

.about-section .list-unstyled li i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* Services Section */
.services-section {
    background-color: #f0f2f5;
}

.service-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.service-card i {
    color: #6a11cb;
}

/* Our Approach Section */
.approach-list {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.approach-list .list-group-item {
    border: none;
    padding: 1rem 0;
    background-color: transparent;
}

.approach-list .list-group-item:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.approach-list .list-group-item .fw-bold {
    color: #6a11cb;
}

/* Why Choose Us Section */
.feature-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card i {
    color: #6a11cb;
}

/* Client Outcomes Section */
.outcomes-list li {
    font-size: 1.1rem;
    color: #444;
}

.outcomes-list li i {
    color: #6a11cb;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #f0f2f5;
}

.testimonial-card {
    max-width: 700px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

.avatar-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid #6a11cb;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: #6a11cb;
    border-radius: 50%;
    padding: 1rem;
}

.carousel-indicators [data-bs-target] {
    background-color: #6a11cb;
}

/* Stats Section */
.stats-section {
    background-image: url('assets/content/geometric-light-pattern_2.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
    color: #212529;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8); /* Soft light overlay */
    z-index: 1;
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stat-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stat-card i {
    color: #6a11cb;
}

/* Unique colors for stat cards */
.stat-card-1 {
    background-color: #e6f2ff; /* Light blue */
}
.stat-card-2 {
    background-color: #f2e6ff; /* Light purple */
}
.stat-card-3 {
    background-color: #e6fff2; /* Light green */
}
.stat-card-4 {
    background-color: #fff2e6; /* Light orange */
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%); /* Blue/Purple gradient */
    clip-path: polygon(0 15%, 100% 0, 100% 85%, 0% 100%); /* Zigzag pattern */
    padding: 100px 0;
    margin-top: 5rem;
    margin-bottom: 5rem;
}

@media (max-width: 768px) {
    .cta-section {
        clip-path: polygon(0 5%, 100% 0, 100% 95%, 0% 100%); /* Adjust zigzag for smaller screens */
        padding: 80px 0;
    }
}

.cta-section .cta-btn {
    color: #6a11cb;
    background-color: #ffffff;
    border-color: #ffffff;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-section .cta-btn:hover {
    background-color: #f0f2f5;
    color: #2575fc;
    border-color: #f0f2f5;
}

/* Team Section */
.team-card {
    border: 1px solid #e0e0e0;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.team-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #6a11cb;
    margin-top: 25px; /* Pull up for visual effect */
    margin-bottom: 15px;
    background-color: #ffffff;
    display: inline-block;
    position: relative;
    z-index: 1;
}

.team-card .p-4 {
    padding-top: 0 !important; /* Adjust padding due to avatar overlap */
}

.fun-fact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(106, 17, 203, 0.9); /* Darker purple overlay */
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    text-align: center;
    padding: 20px;
    font-size: 1.1rem;
}

.team-card:hover .fun-fact-overlay {
    opacity: 1;
    visibility: visible;
}

/* Contact Section */
.contact-section {
    background-color: #f0f2f5;
}

.chat-interface {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
}

.chat-header {
    background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
    color: #ffffff;
}

.chat-messages {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 10px;
}

.chat-message-in {
    background-color: #e9ecef; /* Light grey for incoming */
    border-radius: 15px 15px 15px 0;
    max-width: 85%;
    align-self: flex-start;
}

.chat-message-out {
    background-color: #d1e7dd; /* Light green for outgoing (if implemented) */
    border-radius: 15px 15px 0 15px;
    max-width: 85%;
    margin-left: auto;
}

.chat-input {
    border-radius: 20px;
    padding: 10px 15px;
    border-color: #ced4da;
}

.chat-input:focus {
    border-color: #6a11cb;
    box-shadow: 0 0 0 0.25rem rgba(106, 17, 203, 0.25);
}

.chat-send-btn {
    border-radius: 20px;
    background-color: #6a11cb;
    border-color: #6a11cb;
}

.chat-send-btn:hover {
    background-color: #2575fc;
    border-color: #2575fc;
}

/* Footer Section */
.footer-section {
    background-color: #212529;
    color: #adb5bd;
}

.footer-section .logo-img-footer {
    max-height: 40px;
    filter: brightness(0) invert(1); /* Make logo white for dark background */
}

.footer-section p {
    font-size: 0.9rem;
}

.footer-section a {
    color: #adb5bd;
}

.footer-section a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Cookie Consent Modal */
#cookieConsentModal .modal-content {
    border-radius: 0.75rem;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#cookieConsentModal .modal-header {
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
    border-radius: 0.75rem 0.75rem 0 0;
}

#cookieConsentModal .modal-footer {
    border-top: 1px solid #eee;
    background-color: #f8f9fa;
    border-radius: 0 0 0.75rem 0.75rem;
}

#cookieConsentModal .form-check-input:checked {
    background-color: #6a11cb;
    border-color: #6a11cb;
}

#cookieConsentModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(106, 17, 203, 0.25);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p.lead {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-section .row, .services-section .row, .why-us-section .row, .outcomes-section .row, .team-section .row {
        text-align: center;
    }

    .about-section .col-md-6.order-md-1, .about-section .col-md-6.order-md-2 {
        order: unset !important;
    }

    .about-section img {
        margin-bottom: 1.5rem;
    }

    .team-avatar {
        margin-top: 0;
    }
}
/* Parent container for content nodes */
.lawMatrixNode {
    padding-top: 40px; /* Top padding for the content area */
    padding-bottom: 40px; /* 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: 960px; /* Maximum width for better readability on large screens */
    margin-left: auto; /* Center the container horizontally */
    margin-right: auto; /* Center the container horizontally */
}

/* Headings within the lawMatrixNode */
.lawMatrixNode h1 {
    font-size: 2rem; /* Standard heading 1 size */
    font-weight: 700; /* Bold font weight */
    line-height: 1.2; /* Line height for readability */
    margin-bottom: 1.5rem; /* Space below the heading */
    color: #212529; /* Dark text color */
}

.lawMatrixNode h2 {
    font-size: 1.75rem; /* Standard heading 2 size */
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    color: #212529;
}

.lawMatrixNode h3 {
    font-size: 1.5rem; /* Standard heading 3 size */
    font-weight: 600; /* Slightly less bold */
    line-height: 1.4;
    margin-bottom: 1rem;
    color: #212529;
}

.lawMatrixNode h4 {
    font-size: 1.25rem; /* Standard heading 4 size */
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    color: #212529;
}

.lawMatrixNode h5 {
    font-size: 1.125rem; /* Standard heading 5 size */
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: #212529;
}

/* Paragraphs within the lawMatrixNode */
.lawMatrixNode p {
    font-size: 1rem; /* Standard paragraph text size */
    line-height: 1.7; /* Line height for improved readability */
    margin-bottom: 1rem; /* Space below each paragraph */
    color: #495057; /* Slightly softer dark text color */
}

/* Unordered lists within the lawMatrixNode */
.lawMatrixNode ul {
    list-style-type: disc; /* Default disc bullet style */
    padding-left: 25px; /* Indentation for list items */
    margin-bottom: 1rem; /* Space below the list */
    color: #495057; /* Text color for list */
}

/* List items within the lawMatrixNode */
.lawMatrixNode li {
    font-size: 1rem; /* Standard list item text size */
    line-height: 1.6; /* Line height for list items */
    margin-bottom: 0.5rem; /* Space between list items */
}

/* Last list item usually doesn't need bottom margin */
.lawMatrixNode li:last-child {
    margin-bottom: 0;
}
.main-header span {
    margin-left: 8px;
    font-size: 22px;
    color: #6a11cb;
    font-weight: 600
    ;
}