/* Custom CSS for Boardvantaprez */

/* Root Variables for Color Scheme */
:root {
    --primary-color: #6A0DAD; /* Dark Orchid */
    --secondary-color: #9370DB; /* Medium Purple */
    --accent-color: #DDA0DD; /* Plum (for subtle highlights) */
    --dark-bg: #2C073C; /* Deep Purple, almost black */
    --light-bg: #F0E6FA; /* Light Lavender */
    --text-dark: #333333; /* Dark Charcoal */
    --text-light: #F8F8F8; /* Off-white */

    --font-family-base: 'Poppins', sans-serif;
}

/* Global Styles */
body {
    font-family: var(--font-family-base);
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-bg);
}

.text-light h1, .text-light h2, .text-light h3, .text-light h4, .text-light h5, .text-light h6, 
.bg-dark-bg h1, .bg-dark-bg h2, .bg-dark-bg h3, .bg-dark-bg h4, .bg-dark-bg h5, .bg-dark-bg h6 {
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.btn {
    border-radius: 0.5rem;
    text-decoration: none !important; /* Remove underline from buttons */
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

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

.custom-btn-shadow {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

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

.section-subtitle {
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    transition: background-color 0.4s ease-in-out;
}
.navbar-brand {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    color: #fff !important;
}
.navbar-brand p {
    margin: 0;
}
.navbar-brand .logo-img {
    height: 40px; /* Default height */
    transition: height 0.3s ease;
}

.navbar-scrolled {
    background-color: var(--dark-bg) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.navbar-scrolled .navbar-brand .logo-img {
    height: 35px; /* Slightly smaller when scrolled */
}

.navbar-nav .nav-link {
    color: var(--text-light);
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    padding-bottom: 5px;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

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

.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");
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(44, 7, 60, 0.7), rgba(44, 7, 60, 0.7)), url('images/media/board-game-night.jpg') no-repeat center center/cover;
     
}

.hero-content {
    margin: 150px 0 50px 0;
    max-width: 800px;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.2); /* Subtle overlay for text readability */
    border-radius: 1rem;
}

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

.about-section .img-fluid {
    max-height: 400px;
    object-fit: cover;
    width: 100%;
}

/* Services Section */
.services-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.service-icon {
    color: var(--accent-color);
}

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

.pricing-card-group .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card-group .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-group .btn-check:checked + .btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.btn-group .btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

.team-card {
    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.3);
}

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

/* Our Journey Section (Timeline) */
.our-journey-section {
    background-color: var(--light-bg);
}

.timeline-container {
    position: relative;
    white-space: nowrap;
    padding-top: 50px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--secondary-color);
    z-index: 0;
}

.timeline-items {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 1;
}

.timeline-item {
    position: relative;
    padding-top: 60px;
    padding-bottom: 20px;
    margin: 0 30px;
    min-width: 150px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 15px;
    height: 15px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 2;
    margin-top: -50px; /* Adjust to sit on the line */
}

.timeline-year {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    z-index: 3;
}

.timeline-avatar {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid var(--accent-color);
    margin-top: 10px;
}

/* Stats Section */
.stats-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.stat-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.progress {
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar {
    background-color: var(--primary-color) !important;
    transition: width 1s ease-in-out;
}

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

.accordion-item {
    border: none;
    background-color: var(--text-light);
    border-radius: 0.5rem;
}

.accordion-button {
    background-color: var(--text-light);
    color: var(--dark-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--light-bg);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(106, 13, 173, 0.25);
}

.accordion-body {
    background-color: var(--text-light);
    color: var(--text-dark);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Contact Section */
.contact-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.map-container {
    height: 400px;
    width: 100%;
    background-color: #e0e0e0;
    border: 1px solid var(--secondary-color);
}

.contact-section .form-control, .contact-section .form-select, .contact-section .form-control:focus, .contact-section .form-select:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary-color);
    color: var(--text-light);
}

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

.contact-section .form-label {
    color: var(--accent-color);
}

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

/* Sticky CTA Bar */
#sticky-cta-bar {
    background-color: #2C073C;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    z-index: 1040; /* Above footer, below modals */
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

#sticky-cta-bar p {
    margin-bottom: 0;
    font-size: 1.2rem;
}

/* Footer */
.footer-section {
    background-color: var(--dark-bg);
    color: var(--text-light);
}

.footer-brand .logo-img-footer {
    height: 45px;
}

.footer-section h5 {
    color: var(--primary-color);
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Cookie Banner */
#cookie-banner {
    z-index: 1050; /* Above sticky CTA bar */
    border-top: 1px solid var(--primary-color);
}

#cookie-banner .btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#cookie-banner .btn-outline-light {
    color: var(--text-light);
    border-color: var(--text-light);
}

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

/* Cookie Settings Modal */
#cookieSettingsModal .modal-content {
    background-color: var(--dark-bg);
    border-color: var(--primary-color);
}

#cookieSettingsModal .modal-header, #cookieSettingsModal .modal-footer {
    border-color: var(--secondary-color);
}

#cookieSettingsModal .form-check-label {
    color: var(--text-light);
}

#cookieSettingsModal .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

#cookieSettingsModal .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(106, 13, 173, 0.25);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--dark-bg);
        padding: 1rem;
        margin-top: 10px;
        border-radius: 0.5rem;
    }
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .section-subtitle {
        font-size: 2rem;
    }
    .timeline-item {
        min-width: 120px;
        margin: 0 15px;
    }
    #sticky-cta-bar {
        flex-direction: column;
        padding: 1rem 0.5rem;
    }
    #sticky-cta-bar p {
        margin-bottom: 10px;
        margin-right: 0 !important;
        font-size: 1rem;
    }
}

@media (max-width: 767.98px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1.8rem;
    }
    .display-4 {
        font-size: 2.5rem;
    }
    .display-3 {
        font-size: 2rem;
    }
    .display-2 {
        font-size: 1.5rem;
    }
    .logo-img, .logo-img-footer {
        height: 35px;
    }
    .timeline-item {
        padding-top: 40px;
    }
    .timeline-item::before {
        margin-top: -30px;
    }
    .timeline-year {
        top: -10px;
        font-size: 0.8rem;
    }
    .timeline-avatar {
        width: 70px;
        height: 70px;
    }
    #cookie-banner .d-flex {
        flex-direction: column;
    }
    #cookie-banner p {
        text-align: center;
        margin-bottom: 10px !important;
    }
}
/* New styles for content within .lawMatrixNode */

/* Parent container for content styling */
.lawMatrixNode {
    text-align: center;
    padding: 3rem 2rem; /* Top/bottom and side padding for the content block */
    margin-top: 2rem; /* Top margin to separate from preceding sections */
    margin-bottom: 2rem; /* Bottom margin to separate from following sections */
    background-color: var(--text-light); /* Light background for the content area */
    border-radius: 0.75rem; /* Slightly rounded corners for a softer look */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    color: var(--text-dark); /* Default text color for general content */
}

/* Heading styles within .lawMatrixNode */
.lawMatrixNode h1 {
    font-size: 2.2rem; /* Moderate size for the primary heading within the content block */
    margin-bottom: 1.5rem; /* Spacing below the heading */
    color: var(--dark-bg); /* Dark purple for prominence */
    line-height: 1.2; /* Tighter line height for better heading readability */
    font-weight: 700; /* Bold font weight */
}

.lawMatrixNode h2 {
    font-size: 1.8rem; /* Slightly smaller than h1 */
    margin-bottom: 1.2rem;
    color: var(--primary-color); /* Primary theme color for sub-headings */
    line-height: 1.3;
    font-weight: 600; /* Semi-bold font weight */
}

.lawMatrixNode h3 {
    font-size: 1.5rem; /* Smaller heading size */
    margin-bottom: 1rem;
    color: var(--dark-bg);
    line-height: 1.4;
    font-weight: 600;
}

.lawMatrixNode h4 {
    font-size: 1.2rem; /* Even smaller heading */
    margin-bottom: 0.8rem;
    color: var(--secondary-color); /* Secondary theme color for minor headings */
    line-height: 1.5;
    font-weight: 500; /* Medium font weight */
}

.lawMatrixNode h5 {
    font-size: 1.1rem; /* Smallest heading, often used for sub-sections or minor titles */
    margin-bottom: 0.6rem;
    color: var(--dark-bg);
    line-height: 1.6;
    font-weight: 500;
}

/* Paragraph styles within .lawMatrixNode */
.lawMatrixNode p {
    font-size: 1rem; /* Standard font size for body text */
    margin-bottom: 1rem; /* Spacing between paragraphs for readability */
    line-height: 1.7; /* Generous line height for improved legibility */
    color: var(--text-dark); /* Ensure consistent text color */
}

/* Unordered list styles within .lawMatrixNode */
.lawMatrixNode ul {
    list-style-type: disc; /* Default disc bullet points */
    margin-left: 1.5rem; /* Indent the list from the left edge */
    margin-bottom: 1rem; /* Spacing below the entire list */
    padding-left: 0; /* Reset default browser padding */
}

/* Ordered list styles within .lawMatrixNode */
.lawMatrixNode ol {
    list-style-type: decimal; /* Numeric bullet points */
    margin-left: 1.5rem; /* Indent the list */
    margin-bottom: 1rem; /* Spacing below the list */
    padding-left: 0; /* Reset default browser padding */
}

/* List item styles within .lawMatrixNode */
.lawMatrixNode li {
    font-size: 1rem; /* Consistent font size with paragraphs */
    margin-bottom: 0.5rem; /* Spacing between individual list items */
    line-height: 1.6; /* Good line height for list item readability */
    color: var(--text-dark); /* Ensure consistent text color */
}

/* Optional: Add a subtle separator between list items for visual clarity */
.lawMatrixNode li:not(:last-child) {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1); /* Light dashed line as a separator */
    padding-bottom: 0.5rem; /* Padding above the separator */
}
.card-title {
    color: #2C073C !important;
}
.card-body i {
    color: #2C073C !important;
}
.card-text {
    color: #333333 !important;
}
.card-body p {
    color: #333333 !important;
}
 .card-body blockquote {
    color: #333333 !important;
}
.modal-body p {
    color: #333333 !important;
}
.modal-title {
    color: #6A0DAD !important;
}
.modal-body label {
    color: #000 !important;
}
#general-contact-form input {
    color: #000 !important;
}