/* Custom CSS for BoarDlithil Landing Page */

/* Google Fonts Initialization */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark); /* Default text color */
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    color: var(--heading-color);
}

/* Color Variables */
:root {
    --primary-color: hsl(180, 70%, 25%); /* Deep Teal/Emerald */
    --primary-color-rgb: 19, 97, 97; /* RGB equivalent for rgba usage */
    --secondary-color: hsl(25, 80%, 55%); /* Warm Orange/Terracotta */
    --secondary-color-rgb: 230, 127, 51; /* RGB equivalent for rgba usage */
    --accent-color: hsl(270, 30%, 45%); /* Muted Lavender/Plum */
    --bg-light: hsl(40, 20%, 95%); /* Off-White/Cream */
    --bg-light-variant: hsl(210, 10%, 90%); /* Soft Grey/Stone */
    --bg-dark: hsl(210, 10%, 15%); /* Near Black/Charcoal */
    --bg-dark-variant: hsl(210, 10%, 25%); /* Darker Charcoal for footer */
    --text-dark: hsl(210, 10%, 15%); /* Near Black/Charcoal */
    --text-light: hsl(40, 20%, 95%); /* Off-White/Cream */
    --border-color: rgba(0, 0, 0, 0.1);
}

/* General Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--primary-color);
}

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

.bg-light-variant {
    background-color: var(--bg-light-variant) !important;
}

.custom-btn-cta {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
    font-weight: 600;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: background-color 0.1s ease, border-color 0.1s ease; /* Fast transition for hover */
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.1s ease; /* Fast transition for hover */
}

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

.icon-primary {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    transition: background-color 0.1s ease; /* Instant change */
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

.navbar-brand .logo-img {
    height: 40px; /* Default size */
    transition: height 0.1s ease; /* Instant change */
}

.navbar.scrolled .navbar-brand .logo-img {
    height: 30px; /* Smaller when scrolled */
}

.navbar-nav .nav-link {
    color: var(--text-light) !important;
    font-weight: 600;
    margin: 0 0.8rem;
    position: relative;
    transition: color 0.1s ease; /* Fast transition */
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

.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 {
    position: relative;
    height: 100vh;
    background: url(uploads/uploads/faces-on-a-anticipation-with-look-family-playing-of-a-a-excitement-game-their-board-and-is.jpg) no-repeat center center / cover;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 70px; /* To prevent content from being hidden by fixed navbar */
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

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

.hero-section h1 {
    font-size: 3.8rem;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-section p.lead {
    font-size: 1.5rem;
    color: var(--text-light);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* About Section */
.about-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-section .values-list li {
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.about-section .values-list i {
    font-size: 1.3rem;
    vertical-align: middle;
}

/* Services Section */
.services-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.service-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.service-card .card-img-top {
    height: 220px;
    object-fit: cover;
}

.service-card .card-body {
    padding: 1.8rem;
}

.service-card .card-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Portfolio Section (Timeline) */
.portfolio-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--bg-dark); /* Dark background for contrast */
    color: var(--text-light);
}

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

.portfolio-section .section-title::after {
    background-color: var(--secondary-color);
}

.timeline-container {
    position: relative;
    padding-top: 50px;
    padding-bottom: 20px;
}


.timeline-item {
    background-color: var(--bg-dark-variant);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}



.timeline-item .timeline-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.timeline-item h5 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-top: 1rem;
}

.timeline-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Industries Section (Accordion) */
.industries-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.accordion-item {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.accordion-header .accordion-button {
    background-color: var(--bg-light);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 1.2rem 1.5rem;
    border-radius: 10px;
    transition: background-color 0.1s ease, color 0.1s ease; /* Fast transition */
}

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

.accordion-header .accordion-button:not(.collapsed) .icon-primary {
    color: var(--text-light);
}

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

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

/* Stats Section */
.stats-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background: url(uploads/uploads/board-smiling-and-around-table-a-the-are-playing-a-sitting-inviting-game-room-friends-are-cozy-and-they-is-fun-three-all-having.jpg) no-repeat center center / cover;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 1;
}

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

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

.stats-section .section-title::after {
    background-color: var(--secondary-color);
}

.stat-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    border: 5px solid var(--secondary-color);
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.2);
}

.stat-circle h3 {
    font-size: 3.5rem;
    color: var(--text-light);
}

.stats-section p.lead {
    font-size: 1.3rem;
    color: var(--text-light);
}

/* How It Works Section */
.how-it-works-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.process-flow {
    position: relative;
    margin-top: 3rem;
}

.process-step {
    flex: 1;
    max-width: 250px;
    position: relative;
    margin: 0 15px;
    padding-bottom: 20px;
}

.process-step .step-icon {
    position: relative;
    display: inline-block;
    background-color: var(--bg-light);
    border-radius: 50%;
    padding: 5px;
    z-index: 2;
}

.process-step h5 {
    color: var(--primary-color);
    margin-top: 1rem;
}

.process-step p {
    font-size: 0.95rem;
}

.process-line {
    position: relative;
    flex-grow: 1;
    height: 4px;
    background-color: var(--accent-color);
    margin-top: 40px; /* Align with step icons */
    margin-left: -15px; /* Adjust to connect steps */
    margin-right: -15px; /* Adjust to connect steps */
    z-index: 1;
}

/* Hide lines on small screens */
@media (max-width: 767.98px) {
    .process-flow {
        flex-direction: column;
        align-items: center;
    }
    .process-step {
        max-width: 100%;
        margin: 15px 0;
        padding-bottom: 0;
    }
    .process-line {
        display: none;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--bg-light-variant);
}

.testimonial-card {
    border: none;
    border-radius: 15px;
    background-color: var(--bg-light);
}

.testimonial-card .card-body {
    padding: 2rem;
    position: relative;
}

.testimonial-card .blockquote p {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.testimonial-card .blockquote-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-dark);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

/* FAQ Section */
.faq-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.faq-questions .list-group-item {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-dark);
    transition: background-color 0.1s ease, color 0.1s ease, border-color 0.1s ease; /* Fast transition */
}

.faq-questions .list-group-item:hover,
.faq-questions .list-group-item.active {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

.faq-questions .list-group-item:hover .icon-primary,
.faq-questions .list-group-item.active .icon-primary {
    color: var(--text-light);
}

.faq-answers {
    min-height: 300px; /* Ensure consistent height */
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.faq-answer-block h4 {
    color: var(--primary-color);
}

/* Contact Section (Chat Interface) */
.contact-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.chat-interface {
    max-width: 600px;
    background-color: var(--bg-light);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

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

.message-bubble {
    background-color: var(--bg-light-variant);
    padding: 12px 18px;
    border-radius: 20px;
    max-width: 85%;
    display: inline-block;
    font-size: 0.95rem;
    line-height: 1.4;
}

.message.incoming .message-bubble {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-bottom-left-radius: 5px;
}

.message.outgoing .message-bubble {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-bottom-right-radius: 5px;
}

.chat-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    background-color: var(--bg-light-variant);
    padding: 8px 15px;
    border-radius: 15px 15px 15px 0;
    max-width: fit-content;
    font-size: 0.9rem;
}

.chat-input {
    border-radius: 10px;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
    font-size: 0.95rem;
}

.chat-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.25);
}

/* Newsletter Section */
.newsletter-section {
    background: url(uploads/uploads/together-four-a-board-and-smiling-of-are-playing-family-a-game.jpg) no-repeat center center / cover;
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--primary-color-rgb), 0.8); /* Primary color overlay */
    z-index: 1;
}

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

.newsletter-section h2, .newsletter-section p.lead {
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.newsletter-form {
    max-width: 600px;
}

.newsletter-input {
    border-radius: 50px 0 0 50px !important;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1.1rem;
}

.newsletter-input:focus {
    box-shadow: none;
    border-color: transparent;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0 !important;
    padding: 0.8rem 2rem;
}

/* Sticky Mini-Footer */
.sticky-footer {
    background-color: var(--bg-dark-variant) !important;
    color: var(--text-light);
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-footer .logo-img-footer {
    height: 35px;
}

.sticky-footer a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.1s ease; /* Fast transition */
}

.sticky-footer a:hover {
    color: var(--secondary-color);
}

.fab-button {
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
    z-index: 1050; /* Above footer */
    transition: background-color 0.1s ease, border-color 0.1s ease; /* Fast transition */
}

.fab-button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.dropdown-menu-dark .dropdown-item.active {
    background-color: var(--primary-color);
}

/* Cookie Consent Banner */
.cookie-banner {
    background-color: var(--bg-dark);
    color: var(--text-light);
    z-index: 1100; /* Above everything else */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cookie-banner .btn-accept {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
    transition: background-color 0.1s ease, border-color 0.1s ease; /* Fast transition */
}

.cookie-banner .btn-accept:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.cookie-banner .btn-reject {
    background-color: var(--bg-light-variant);
    border-color: var(--bg-light-variant);
    color: var(--text-dark);
    transition: background-color 0.1s ease, border-color 0.1s ease; /* Fast transition */
}

.cookie-banner .btn-reject:hover {
    background-color: var(--text-dark);
    border-color: var(--text-dark);
    color: var(--text-light);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--bg-dark-variant);
        margin-top: 1rem;
        border-radius: 8px;
        padding: 1rem;
    }
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
    .hero-section h1 {
        font-size: 2.8rem;
    }
    .hero-section p.lead {
        font-size: 1.2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .fab-button {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        bottom: 15px;
        right: 15px;
        margin: 0 !important;
    }
    .sticky-footer .container {
        flex-direction: column;
        text-align: center;
    }
    .sticky-footer .footer-links a {
        margin: 0 0.5rem 0.5rem 0.5rem;
        display: inline-block;
    }
    .sticky-footer .footer-logo, .sticky-footer .footer-links, .sticky-footer .footer-social-lang {
        margin-bottom: 1rem !important;
    }
    .sticky-footer .footer-social-lang {
        margin-top: 0.5rem !important;
    }
}

@media (max-width: 767.98px) {
    .hero-section h1 {
        font-size: 2.2rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .stat-circle {
        width: 150px;
        height: 150px;
    }
    .stat-circle h3 {
        font-size: 2.8rem;
    }
    .cookie-banner .container {
        flex-direction: column;
    }
    .cookie-banner p {
        text-align: center;
        margin-bottom: 1rem !important;
    }
}

/* Ensure custom-btn-cta colors are correctly applied to form buttons */
.contact-form .btn-primary, .newsletter-form .btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-light);
}

.contact-form .btn-primary:hover, .newsletter-form .btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}
/* New styles for .dataClauseFrame and its children */

.dataClauseFrame {
    /* General styling for the content block */
    padding: 3rem 1.5rem; /* Top/bottom and left/right padding */
    margin-top: 2rem; /* Space above the content block */
    margin-bottom: 2rem; /* Space below the content block */
    background-color: var(--bg-light); /* Light background for content readability */
    border-radius: 10px; /* Slightly rounded corners for the block */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Subtle shadow for depth */
    max-width: 960px; /* Max width to keep content readable on large screens */
    margin-left: auto; /* Center the block */
    margin-right: auto; /* Center the block */
}

@media (min-width: 768px) {
    .dataClauseFrame {
        padding: 4rem 3rem; /* Increase padding on larger screens */
    }
}

.dataClauseFrame h1 {
    /* Heading 1 style within the content block */
    font-size: 2.4rem; /* Slightly smaller than main section titles */
    font-weight: 700;
    margin-top: 0; /* Remove default browser top margin */
    margin-bottom: 1.5rem;
    color: var(--primary-color); /* Use primary theme color for main headings */
    line-height: 1.2;
}

.dataClauseFrame h2 {
    /* Heading 2 style within the content block */
    font-size: 2rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1.2rem;
    color: var(--text-dark); /* Dark text for sub-headings */
    line-height: 1.3;
}

.dataClauseFrame h3 {
    /* Heading 3 style within the content block */
    font-size: 1.7rem;
    font-weight: 600;
    margin-top: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    line-height: 1.4;
}

.dataClauseFrame h4 {
    /* Heading 4 style within the content block */
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.dataClauseFrame h5 {
    /* Heading 5 style within the content block */
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.dataClauseFrame p {
    /* Paragraph style within the content block */
    font-size: 1rem; /* Standard body text size */
    line-height: 1.7; /* Good line height for readability */
    margin-bottom: 1rem; /* Space between paragraphs */
    color: var(--text-dark);
}

.dataClauseFrame ul {
    /* Unordered list style within the content block */
    list-style-type: disc; /* Default disc bullets */
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem; /* Indentation for bullets */
    color: var(--text-dark);
}

.dataClauseFrame ol {
    /* Ordered list style within the content block */
    list-style-type: decimal; /* Default decimal numbers */
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem; /* Indentation for numbers */
    color: var(--text-dark);
}

.dataClauseFrame li {
    /* List item style within the content block */
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem; /* Space between list items */
    color: var(--text-dark);
}

.dataClauseFrame li:last-child {
    margin-bottom: 0; /* No bottom margin for the last list item */
}

.navbar-brand, .footer-logo a{
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}


.navbar-brand h2, .footer-logo a h2{
    font-size: clamp(18px,2.5vw,20px);
    color: #fff;
    margin: 0;
}

#portfolio .row{
    justify-content: center;
    gap: 45px;
}

.thankYouMessage{
    padding: 50px 20px;
}


@media (max-width: 991px) {
    .process-line {
        display: none;
    }

     .process-step {
        max-width: 100%;
        margin: 15px 0;
        padding-bottom: 0;
    }

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