:root {
    --primary-blue: #3498db; /* A vibrant blue */
    --accent-orange: #e67e22; /* A warm orange */
    --accent-green: #2ecc71; /* A fresh green */
    --neutral-dark: #34495e; /* Dark text for readability */
    --neutral-light: #f8f9fa; /* Light gray background */
    --neutral-white: #ffffff;
    --hand-drawn-border-color: #34495e;
    --hand-drawn-line-thickness: 2px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--neutral-dark);
    background-color: var(--neutral-light);
    scroll-behavior: smooth;
}

/* General Styles */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--neutral-dark);
    position: relative;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 767.98px) {
    h2 {
        font-size: 2rem;
    }
}

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

a:hover {
    color: var(--accent-orange);
}

.text-primary { color: var(--primary-blue) !important; }
.text-orange { color: var(--accent-orange) !important; }
.text-success { color: var(--accent-green) !important; }
.bg-light-gray { background-color: var(--neutral-light); }

/* Hand-Drawn Style Elements */
.hand-drawn-block {
    border: var(--hand-drawn-line-thickness) solid var(--hand-drawn-border-color);
    box-shadow: 4px 4px 0px 0px var(--hand-drawn-border-color), 8px 8px 0px 0px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}

.hand-drawn-block:hover {
    box-shadow: 2px 2px 0px 0px var(--hand-drawn-border-color), 6px 6px 0px 0px rgba(0,0,0,0.1);
    transform: translate(-2px, -2px);
}

.hand-drawn-tabs .nav-link {
    border: var(--hand-drawn-line-thickness) solid var(--hand-drawn-border-color);
    box-shadow: 2px 2px 0px 0px var(--hand-drawn-border-color);
    margin: 0 5px 10px;
    border-radius: 0.5rem;
    background-color: var(--neutral-white);
    color: var(--neutral-dark);
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

.hand-drawn-tabs .nav-link:hover {
    transform: translate(-1px, -1px);
    box-shadow: 1px 1px 0px 0px var(--hand-drawn-border-color);
}

.hand-drawn-tabs .nav-link.active {
    background-color: var(--primary-blue);
    color: var(--neutral-white);
    border-color: var(--primary-blue);
    box-shadow: 3px 3px 0px 0px var(--neutral-dark);
    transform: translate(0, 0);
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: var(--neutral-white);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0px 0px var(--neutral-dark);
}

.btn-primary:hover {
    background-color: darken(var(--primary-blue), 10%);
    border-color: darken(var(--primary-blue), 10%);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px 0px var(--neutral-dark);
}

.btn-outline-secondary {
    color: #fff;
    border-color: #fff;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0px 0px var(--neutral-dark);
}

.btn-outline-secondary:hover {
    background-color: var(--neutral-dark);
    color: var(--neutral-white);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px 0px var(--neutral-dark);
}

.btn-outline-light {
    color: var(--neutral-white);
    border-color: var(--neutral-white);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0px 0px rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
    background-color: var(--neutral-white);
    color: var(--primary-blue);
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0px 0px rgba(255,255,255,0.3);
}

/* Navbar */
#main-navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(5px);
    z-index: 1030;
}

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

#main-navbar .navbar-brand span {
    color: var(--neutral-dark);
    font-size: clamp(16px,2.5vw, 24px);
}

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

#main-navbar .nav-link:hover {
    color: var(--primary-blue);
}

#main-navbar .navbar-toggler {
    border: none;
}

#main-navbar .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='%2334495e' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
#hero-section {
    min-height: 100vh;
    padding-top: 100px; /* Adjust for fixed navbar */
    background: linear-gradient(rgba(0, 0, 0, 1), rgba(0, 0, 0, 1));
}

.hero-visuals img {
    filter: brightness(0.5) grayscale(0.2);
}

.morphing-shape-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.morph-svg {
    position: absolute;
    fill: var(--primary-blue);
    opacity: 0.2;
}

.morph-svg-1 {
    top: 10%;
    left: 5%;
    width: 30%;
    height: 30%;
    fill: var(--accent-orange);
    opacity: 0.15;
}

.morph-svg-2 {
    bottom: 5%;
    right: 10%;
    width: 25%;
    height: 25%;
    fill: var(--accent-green);
    opacity: 0.15;
}

.hero-content {
    padding: 3rem 0;
}

.hero-headline {
    font-size: clamp(25px,5vw,45px) !important;
    color: #ffff;
    text-shadow: 2px 2px 0px rgba(0,0,0,0.1);
}

.hero-subheadline {
    color: #ffff;
}

/* About Section */
#about-section {
    background-color: var(--neutral-white);
}

.about-story-block {
    padding: 2rem 0;
}

.about-image-wrapper img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border: var(--hand-drawn-line-thickness) solid var(--hand-drawn-border-color);
    box-shadow: 6px 6px 0px 0px var(--hand-drawn-border-color), 12px 12px 0px 0px rgba(0,0,0,0.1);
}

.about-text-content {
    padding: 2rem;
}

.about-text-content ul {
    padding-left: 0;
}

.about-text-content li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

/* Services Section */
#services-section {
    background-color: var(--neutral-light);
}

.service-card {
    border: var(--hand-drawn-line-thickness) solid var(--hand-drawn-border-color);
    box-shadow: 4px 4px 0px 0px var(--hand-drawn-border-color), 8px 8px 0px 0px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0px 0px var(--hand-drawn-border-color), 10px 10px 0px 0px rgba(0,0,0,0.15);
}

.service-media {
    height: 180px;
    border: 1px solid rgba(0,0,0,0.1);
}

.service-media img {
    object-fit: cover;
}

/* Process Section */
#process-section {
    background-color: var(--neutral-white);
}

.process-timeline {
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: var(--primary-blue);
    transform: translateX(-50%);
    z-index: 0;
}

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

.process-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-white);
    font-size: 2rem;
    border: var(--hand-drawn-line-thickness) solid var(--neutral-dark);
    box-shadow: 3px 3px 0px 0px var(--neutral-dark);
}

.process-step:nth-child(even) .process-icon-wrapper {
    background-color: var(--accent-orange);
}

.process-step:nth-child(3n) .process-icon-wrapper {
    background-color: var(--accent-green);
}

.process-content {
    border: var(--hand-drawn-line-thickness) solid var(--hand-drawn-border-color);
    box-shadow: 4px 4px 0px 0px var(--hand-drawn-border-color), 8px 8px 0px 0px rgba(0,0,0,0.1);
    background-color: var(--neutral-white);
}

@media (max-width: 767.98px) {
    .process-timeline::before {
        left: 20px;
        transform: translateX(0);
    }
    .process-step .col-md-5, .process-step .col-md-2 {
        width: 100%;
        text-align: left !important;
    }
    .process-icon-wrapper {
        position: absolute;
        left: 0;
        top: 0;
        transform: translateX(-50%);
    }
    .process-content {
        margin-left: 50px;
    }
}

/* Industries Section */
#industries-section {
    background-color: var(--neutral-light);
}

.industries-section .nav-tabs {
    border-bottom: none;
}

.industries-section .nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    color: var(--neutral-dark);
    font-weight: 600;
}

.industries-section .nav-tabs .nav-link.active {
    color: var(--neutral-white);
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.industries-section .tab-content {
    border-top: none;
    background-color: var(--neutral-white);
    border: var(--hand-drawn-line-thickness) solid var(--hand-drawn-border-color);
    box-shadow: 4px 4px 0px 0px var(--hand-drawn-border-color), 8px 8px 0px 0px rgba(0,0,0,0.1);
}

/* Stats Section */
#stats-section {
    background-color: var(--neutral-white);
    overflow: hidden; /* For timeline animation */
}

.timeline-container {
    position: relative;
    display: flex;
    align-items: center;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--neutral-dark);
    transform: translateY(-50%);
}

.timeline-event {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

.event-marker {
    width: 25px;
    height: 25px;
    border: 3px solid var(--neutral-white);
    box-shadow: 0 0 0 2px var(--neutral-dark);
    position: relative;
    z-index: 2;
}

.event-year {
    font-size: 1.1rem;
    color: var(--neutral-dark);
    margin-top: 10px;
}

.stat-value {
    font-size: 1.8rem;
    color: var(--primary-blue);
}

/* Testimonials Section */
#testimonials-section {
    background-color: var(--neutral-light);
}

.testimonials-slider {
    padding: 2rem 0;
}

.testimonial-card {
    border: var(--hand-drawn-line-thickness) solid var(--hand-drawn-border-color);
    box-shadow: 4px 4px 0px 0px var(--hand-drawn-border-color), 8px 8px 0px 0px rgba(0,0,0,0.1);
    padding: 2rem;
    min-height: 300px; /* Ensure cards have similar height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.customer-avatar {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid var(--primary-blue);
}

.feedback-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--neutral-dark);
}

.swiper-button-prev, .swiper-button-next {
    color: var(--primary-blue) !important;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.swiper-button-prev:hover, .swiper-button-next:hover {
    background-color: var(--primary-blue);
    color: var(--neutral-white) !important;
}

.swiper-button-prev::after, .swiper-button-next::after {
    font-size: 1.2rem !important;
}

.swiper-pagination-bullet {
    background: var(--neutral-dark) !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    background: var(--primary-blue) !important;
    opacity: 1;
}

/* FAQ Section */
#faq-section {
    background-color: var(--neutral-white);
}

.faq-item {
    border: var(--hand-drawn-line-thickness) solid var(--hand-drawn-border-color);
    box-shadow: 4px 4px 0px 0px var(--hand-drawn-border-color), 8px 8px 0px 0px rgba(0,0,0,0.1);
}

.faq-header .accordion-button {
    background-color: var(--neutral-white);
    color: var(--neutral-dark);
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.faq-header .accordion-button:not(.collapsed) {
    color: var(--primary-blue);
    background-color: var(--neutral-light);
}

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

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
}

.faq-header .accordion-button:not(.collapsed) .faq-icon {
    color: var(--accent-orange);
}

.accordion-body {
    padding: 1.25rem;
    background-color: var(--neutral-white);
}

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

.team-member-card {
    border: var(--hand-drawn-line-thickness) solid var(--hand-drawn-border-color);
    box-shadow: 4px 4px 0px 0px var(--hand-drawn-border-color), 8px 8px 0px 0px rgba(0,0,0,0.1);
    transition: all 0.3s ease-in-out;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 6px 6px 0px 0px var(--hand-drawn-border-color), 10px 10px 0px 0px rgba(0,0,0,0.15);
}

.member-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid var(--accent-green);
}

.member-name {
    color: var(--neutral-dark);
}

.member-role {
    font-size: 0.9rem;
}

/* Contact Section */
#contact-section {
    background-color: var(--neutral-white);
}

.contact-form {
    border: var(--hand-drawn-line-thickness) solid var(--hand-drawn-border-color);
    box-shadow: 6px 6px 0px 0px var(--hand-drawn-border-color), 12px 12px 0px 0px rgba(0,0,0,0.1);
}

.form-label {
    font-weight: 600;
    color: var(--neutral-dark);
}

.form-control, .form-select {
    border: 1px solid #ced4da;
    border-radius: 0.4rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

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

.contact-submit-button {
    box-shadow: 5px 5px 0px 0px var(--neutral-dark);
}

.contact-submit-button:hover {
    transform: translate(-3px, -3px);
    box-shadow: 8px 8px 0px 0px var(--neutral-dark);
}

/* CTA Section */
#cta-section {
    background-color: var(--primary-blue);
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),url('uploads/media/cta-board-game-pieces.jpg'); /* Example background image with overlay */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

#cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(var(--primary-blue), 0.7);
    z-index: 0;
}

#cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-headline {
    color: var(--neutral-white);
    text-shadow: 2px 2px 0px rgba(0,0,0,0.2);
}

.cta-subtext {
    color: rgba(255, 255, 255, 0.8);
}

/* Footer */
#main-footer {
    background-color: var(--neutral-dark);
    color: rgba(255, 255, 255, 0.7);
}

#main-footer .navbar-brand .logo-footer {
    height: 35px;
    width: auto;
    filter: brightness(0) invert(1);
}

#main-footer .tile-title {
    color: var(--neutral-white);
    font-weight: 700;
}

#main-footer ul {
    padding-left: 0;
}

#main-footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

#main-footer ul li a:hover {
    color: var(--primary-blue);
}

/* Cookie Banner */
.cookie-banner {
    background-color: var(--neutral-white);
    border: var(--hand-drawn-line-thickness) solid var(--hand-drawn-border-color);
    box-shadow: 6px 6px 0px 0px var(--hand-drawn-border-color), 12px 12px 0px 0px rgba(0,0,0,0.1);
    z-index: 1050;
    max-width: 350px;
}

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

.cookie-banner .btn-primary {
    box-shadow: 2px 2px 0px 0px var(--neutral-dark);
}

.cookie-banner .btn-outline-secondary {
    box-shadow: 2px 2px 0px 0px var(--neutral-dark);
}

/* Cookie Modal */
.modal-content {
    border: var(--hand-drawn-line-thickness) solid var(--hand-drawn-border-color);
    box-shadow: 6px 6px 0px 0px var(--hand-drawn-border-color), 12px 12px 0px 0px rgba(0,0,0,0.1);
}

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

.modal-footer {
    border-top: 1px solid rgba(0,0,0,0.1);
}

.form-check-label strong {
    color: var(--neutral-dark);
}

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

/* Utility classes for text colors */
.text-primary { color: var(--primary-blue); }
.text-orange { color: var(--accent-orange); }
.text-success { color: var(--accent-green); }
/* Styles for the consent tunnel grid container */
.consentTunnelGrid {
    padding: 2rem; /* Vertical padding */
    padding-left: 1.5rem; /* Left padding */
    padding-right: 1.5rem; /* Right padding */
    max-width: 900px; /* Optional: Constrain width for better readability */
    margin-left: auto; /* Center the container */
    margin-right: auto; /* Center the container */
}

/* Heading styles within consentTunnelGrid */
.consentTunnelGrid h1 {
    font-size: 2.2rem; /* Moderate font size for H1 */
    font-weight: 700; /* Bold font weight */
    margin-top: 2rem; /* Top margin for spacing */
    margin-bottom: 1rem; /* Bottom margin for spacing */
    line-height: 1.2; /* Line height for readability */
    color: var(--neutral-dark); /* Inherit primary text color */
}

.consentTunnelGrid h2 {
    font-size: 1.8rem; /* Moderate font size for H2 */
    font-weight: 600; /* Semi-bold font weight */
    margin-top: 1.8rem; /* Top margin for spacing */
    margin-bottom: 0.9rem; /* Bottom margin for spacing */
    line-height: 1.3; /* Line height for readability */
    color: var(--neutral-dark); /* Inherit primary text color */
}

.consentTunnelGrid h3 {
    font-size: 1.5rem; /* Moderate font size for H3 */
    font-weight: 600; /* Semi-bold font weight */
    margin-top: 1.5rem; /* Top margin for spacing */
    margin-bottom: 0.8rem; /* Bottom margin for spacing */
    line-height: 1.4; /* Line height for readability */
    color: var(--neutral-dark); /* Inherit primary text color */
}

.consentTunnelGrid h4 {
    font-size: 1.25rem; /* Moderate font size for H4 */
    font-weight: 500; /* Medium font weight */
    margin-top: 1.25rem; /* Top margin for spacing */
    margin-bottom: 0.7rem; /* Bottom margin for spacing */
    line-height: 1.5; /* Line height for readability */
    color: var(--neutral-dark); /* Inherit primary text color */
}

.consentTunnelGrid h5 {
    font-size: 1.1rem; /* Moderate font size for H5 */
    font-weight: 500; /* Medium font weight */
    margin-top: 1rem; /* Top margin for spacing */
    margin-bottom: 0.6rem; /* Bottom margin for spacing */
    line-height: 1.5; /* Line height for readability */
    color: var(--neutral-dark); /* Inherit primary text color */
}

/* Paragraph styles within consentTunnelGrid */
.consentTunnelGrid p {
    font-size: 1rem; /* Standard paragraph font size */
    margin-top: 0.5rem; /* Top margin for spacing */
    margin-bottom: 1rem; /* Bottom margin for spacing */
    line-height: 1.7; /* Line height for readability */
    color: var(--neutral-dark); /* Inherit primary text color */
}

/* Unordered list styles within consentTunnelGrid */
.consentTunnelGrid ul {
    margin-top: 1rem; /* Top margin for spacing */
    margin-bottom: 1rem; /* Bottom margin for spacing */
    padding-left: 1.5rem; /* Indentation for list items */
    list-style-type: disc; /* Default bullet style */
    color: var(--neutral-dark); /* Inherit primary text color */
}

/* List item styles within consentTunnelGrid */
.consentTunnelGrid li {
    font-size: 1rem; /* Standard list item font size */
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.6; /* Line height for readability */
}

/* Responsive adjustments for smaller screens */
@media (max-width: 767.98px) {
    .consentTunnelGrid {
        padding: 1.5rem 1rem; /* Reduced padding for smaller screens */
    }

    .consentTunnelGrid h1 {
        font-size: 1.8rem; /* Smaller H1 on mobile */
        margin-top: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .consentTunnelGrid h2 {
        font-size: 1.5rem; /* Smaller H2 on mobile */
        margin-top: 1.2rem;
        margin-bottom: 0.7rem;
    }

    .consentTunnelGrid h3 {
        font-size: 1.3rem; /* Smaller H3 on mobile */
        margin-top: 1rem;
        margin-bottom: 0.6rem;
    }

    .timeline-event{
        width: 100%;
    }

    .timeline-events{
        flex-direction: column;
    }
}


.swiper-button-prev, .swiper-button-next, .swiper-pagination{
    display: none !important;
}


.testimonials-slider {
    margin: 0 auto; 
    max-width: 1200px; 
}

.swiper-wrapper {
    display: flex;
    justify-content: center; 
}

.dop-hero{
    min-height: 50vh !important;
}

@media (max-width: 343px) {
    .navbar>.container-fluid{
        justify-content: center;
    }
}