:root {
    --boardverse-primary: #4A2E80; /* Deep Violet */
    --boardverse-primary-dark: #3A2466; /* Darker Violet */
    --boardverse-accent: #FFA500; /* Orange */
    --boardverse-light: #F5F5F5; /* Light Gray */
    --boardverse-dark-text: #333333; /* Dark Gray for text on light backgrounds */
    --boardverse-light-text: #FFFFFF; /* White for text on dark backgrounds */
    --boardverse-bg-overlay: rgba(0, 0, 0, 0.6);
}

html {
    scroll-behavior: smooth;
}

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

/* General Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--boardverse-primary-dark);
}

h1.title, h2.title {
    font-weight: 700;
}

.title.is-1 {
    font-size: 3.5rem;
}

.title.is-2 {
    font-size: 2.8rem;
}

.title.is-4 {
    font-size: 1.8rem;
}

.subtitle {
    font-weight: 400;
}

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

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

.button {
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important; /* Remove underline from buttons */
    transition: all 0.3s ease;
}

.button.is-primary {
    background-color: var(--boardverse-primary);
    border-color: var(--boardverse-primary);
    color: var(--boardverse-light-text);
}

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

.button.is-light {
    background-color: var(--boardverse-light);
    border-color: var(--boardverse-light);
    color: var(--boardverse-dark-text);
}

.button.is-light:hover {
    background-color: #e0e0e0;
    border-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.button.is-outlined.is-primary {
    background-color: transparent;
    border-color: var(--boardverse-primary);
    color: var(--boardverse-primary);
}

.button.is-outlined.is-primary:hover {
    background-color: var(--boardverse-primary);
    color: var(--boardverse-light-text);
}

/* Navbar */
.navbar {
    background-color: var(--boardverse-primary-dark);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
}

.navbar-item img {
    max-height: 2.5rem;
}

.navbar-item {
    color: var(--boardverse-light-text);
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar-item:hover {
    color: var(--boardverse-accent);
    background-color: transparent;
}

.navbar-burger {
    color: var(--boardverse-light-text);
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Ensure parallax or zoom effects don't cause scrollbars */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--boardverse-bg-overlay);
    z-index: 1;
}

.hero .hero-body {
    position: relative;
    z-index: 2;
    padding-top: 6rem; /* Adjust for fixed navbar */
    padding-bottom: 3rem;
}

.hero .title, .hero .subtitle {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* About Us Timeline Section */
.timeline-wrapper {
    position: relative;
    padding: 2rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: var(--boardverse-primary);
    transform: translateX(-50%);
    z-index: 0;
    transition: height 1s ease-out;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
    align-items: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.timeline-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 40px;
    height: 40px;
    background-color: var(--boardverse-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--boardverse-light-text);
    font-size: 1.2rem;
    z-index: 1;
    box-shadow: 0 0 0 5px var(--boardverse-light);
    flex-shrink: 0;
}

.timeline-item:nth-child(odd) .timeline-marker {
    margin-right: 1.5rem;
}

.timeline-item:nth-child(even) .timeline-marker {
    margin-left: 1.5rem;
}

.timeline-content {
    flex-grow: 1;
    padding: 1.5rem;
    background-color: var(--boardverse-light-text);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    color: var(--boardverse-primary-dark);
    margin-bottom: 0.5rem;
}

/* Responsive adjustments for timeline */
@media screen and (max-width: 768px) {
    .timeline-line {
        left: 20px;
    }
    .timeline-item {
        flex-direction: row !important;
        justify-content: flex-start;
        margin-left: 0;
    }
    .timeline-marker {
        margin-right: 1rem !important;
        margin-left: 0 !important;
        position: absolute;
        left: 0;
    }
    .timeline-content {
        margin-left: 60px; /* Space for marker */
        width: calc(100% - 60px);
    }
}

/* Services Section */
.service-card {
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.service-card .card-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.service-card:hover .card-image img {
    transform: scale(1.03);
}

.service-card .card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
}

.service-card .title {
    color: var(--boardverse-primary-dark);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--boardverse-dark-text);
}

/* Service Order Modal */
.modal-card-head {
    background-color: var(--boardverse-primary-dark);
    color: var(--boardverse-light-text);
    border-bottom: none;
}

.modal-card-title {
    color: var(--boardverse-light-text);
}

.modal-card-head .delete {
    background-color: var(--boardverse-accent);
}

.modal-card-body {
    background-color: var(--boardverse-light);
    color: var(--boardverse-dark-text);
}

.modal-card-foot {
    background-color: var(--boardverse-light);
    border-top: none;
}

.field .label {
    color: var(--boardverse-dark-text);
}

.field .input, .field .textarea {
    border-color: #dbdbdb;
    color: #000 !important;
    box-shadow: none;
}
.field .input::placeholder, .field .textarea::placeholder {
    color: #000 !important;
}
.field .input:focus, .field .textarea:focus {
    border-color: var(--boardverse-primary);
    box-shadow: 0 0 0 0.125em rgba(74, 46, 128, 0.25);
}

.help.is-danger {
    color: #ff3860;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Team Section */
.team-swiper {
    padding-bottom: 3rem;
}

.team-member-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

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

.team-member-card .card-image img {
    border: 4px solid var(--boardverse-primary);
    object-fit: cover;
}

.team-member-card .card-content {
    padding-top: 1rem;
    padding-bottom: 1.5rem;
}

.team-swiper .swiper-pagination-bullet-active {
    background-color: var(--boardverse-primary);
}

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

.team-swiper .swiper-button-next:hover, .team-swiper .swiper-button-prev:hover {
    background-color: var(--boardverse-accent);
    color: var(--boardverse-light-text);
}

/* Statistics Section */
.stat-item {
    background-color: var(--boardverse-primary-dark);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    color: var(--boardverse-accent);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--boardverse-light-text);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--boardverse-light);
}

/* Gallery Section */
 .gallery-filter-btn {
            margin: 0.5rem;
        }

        .gallery-filter-btn.is-active {
            background-color: var(--boardverse-primary);
            color: var(--boardverse-light-text);
            border-color: var(--boardverse-primary);
        }

        .masonry-grid {
            margin-left: -0.75rem;
            margin-right: -0.75rem;
        }

        .grid-item {
            padding: 0.75rem;
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
            visibility: hidden;
        }

        .grid-item.is-visible {
            opacity: 1;
            transform: translateY(0);
            visibility: visible;
        }

        .grid-item figure {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            transition: transform 0.3s ease;
        }

      

        .grid-item img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .figcaption {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: var(--boardverse-bg-overlay);
            color: var(--boardverse-light-text);
            padding: 0.75rem;
            font-size: 0.9rem;
            text-align: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .grid-item figure:hover .figcaption {
            opacity: 1;
        }
 .columns:not(.is-desktop) {
    justify-content: center;
 }
/* Contact Section */
.contact .box {
    background-color: var(--boardverse-light);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact .label {
    color: var(--boardverse-dark-text);
}

/* Footer Section */
.footer {
    padding: 3rem 1.5rem;
    background-color: var(--boardverse-primary-dark);
    color: var(--boardverse-light-text);
}

.footer-logo {
    max-height: 3rem;
    filter: brightness(0) invert(1); /* Make logo white */
}

.footer-tile {
    background-color: var(--boardverse-primary);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%; /* Ensure equal height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer-tile h5 {
    color: var(--boardverse-accent);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    padding-left: 0;
    text-align: center;
}

.footer-links li a {
    color: var(--boardverse-light-text);
    padding: 0.25rem 0;
    display: inline-block;
    position: relative;
    text-decoration: none;
}

.footer-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: var(--boardverse-accent);
    transition: width 0.3s ease;
}

.footer-links li a:hover::after {
    width: 100%;
    left: 0;
    background: var(--boardverse-accent);
}

.footer-links li a:hover {
    color: var(--boardverse-accent);
}
.title:not(.is-spaced)+.subtitle {
    margin: 10px 0 !important;
}
/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width:fit-content;
    background-color: var(--boardverse-primary-dark);
    color: var(--boardverse-light-text);
    padding: 1rem 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-banner .container {
    max-width: 960px; /* Bulma container max-width */
    width: 100%;
}

.cookie-message {
    margin-right: 1.5rem;
    flex-grow: 1;
}

.cookie-message a {
    color: var(--boardverse-accent);
    text-decoration: underline;
}
.cookie-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}
.cookie-buttons .button {
    margin-left: 0.75rem;
}
.hero-body h1 {
    font-size: 35px !important;
}
@media screen and (max-width: 768px) {
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .cookie-message {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .cookie-buttons .button {
        margin: 0.5rem 0.5rem;
    }
}

/* Cookie Settings Modal (Bulma's default modal styles are fine, just adjust colors) */
#cookie-settings-modal .modal-card-head, #service-order-modal .modal-card-head {
    background-color: var(--boardverse-primary-dark);
    color: var(--boardverse-light-text);
}

#cookie-settings-modal .modal-card-title, #service-order-modal .modal-card-title {
    color: var(--boardverse-light-text);
}

#cookie-settings-modal .delete, #service-order-modal .delete {
    background-color: var(--boardverse-accent);
}

#cookie-settings-modal .modal-card-body, #service-order-modal .modal-card-body {
    background-color: var(--boardverse-light);
    color: var(--boardverse-dark-text);
}

#cookie-settings-modal .modal-card-foot, #service-order-modal .modal-card-foot {
    background-color: var(--boardverse-light);
    border-top: 1px solid #dbdbdb;
}

/* Bulma Switch for Cookie Settings */
.switch[type="checkbox"] {
    height: 0;
    width: 0;
    visibility: hidden;
}

.switch[type="checkbox"] + label {
    cursor: pointer;
    text-indent: -9999px;
    width: 50px;
    height: 25px;
    background: #ccc;
    display: block;
    border-radius: 100px;
    position: relative;
    margin-left: 0.5rem; /* Space from label text */
    vertical-align: middle;
    margin-bottom: 0;
    line-height: 25px;
}

.switch[type="checkbox"] + label:after {
    content: '';
    position: absolute;
    top: 2.5px;
    left: 2.5px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 90px;
    transition: 0.3s;
}

.switch[type="checkbox"]:checked + label {
    background: var(--boardverse-primary);
}

.switch[type="checkbox"]:checked + label:after {
    left: calc(100% - 2.5px);
    transform: translateX(-100%);
}

.switch[type="checkbox"]:active + label:after {
    width: 30px;
}

.switch[type="checkbox"][disabled] + label {
    opacity: 0.6;
    cursor: not-allowed;
}

.field label[for^="cookie-"] {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.5rem;
    color: var(--boardverse-dark-text);
    font-weight: 600;
}

/* Custom Bulma Switch for better styling */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--boardverse-primary);
}

input:focus + .slider {
    box-shadow: 0 0 1px var(--boardverse-primary);
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.is-rounded {
    border-radius: 34px;
}

.slider.is-rounded:before {
    border-radius: 50%;
}

/* Ensure all elements are visible and readable */
.has-text-dark {
    color: var(--boardverse-dark-text) !important;
}

.has-text-white {
    color: var(--boardverse-light-text) !important;
}

.has-text-white-ter {
    color: rgba(255, 255, 255, 0.8) !important;
}

.has-background-dark {
    background-color: var(--boardverse-primary-dark) !important;
}

.has-background-light {
    background-color: var(--boardverse-light) !important;
}

.has-background-white-ter {
    background-color: #f8f8f8 !important;
}

/* Utility for hidden elements */
.is-hidden {
    display: none !important;
}
/* Policy Scope Wrapper Styles */
.policyScopeWrap {
    padding-top: 4rem; /* Top padding for the content area */
    padding-left: 1.5rem; /* Left padding for the content area */
    padding-right: 1.5rem; /* Right padding for the content area */
    max-width: 960px; /* Limit content width for better readability */
    margin: 0 auto; /* Center the content wrapper */
    color: var(--boardverse-dark-text); /* Default text color */
    line-height: 1.7; /* Base line height for readability */
}

/* Heading Styles within Policy Scope */
.policyScopeWrap h1 {
    font-size: 2.2rem; /* Moderate font size for main heading */
    margin-top: 2.5rem; /* Spacing above h1 */
    margin-bottom: 1.2rem; /* Spacing below h1 */
    color: var(--boardverse-primary-dark); /* Heading color */
    font-weight: 700; /* Bold font weight */
}

.policyScopeWrap h2 {
    font-size: 1.8rem; /* Moderate font size for sub-heading */
    margin-top: 2rem; /* Spacing above h2 */
    margin-bottom: 1rem; /* Spacing below h2 */
    color: var(--boardverse-primary-dark); /* Heading color */
    font-weight: 600; /* Semi-bold font weight */
}

.policyScopeWrap h3 {
    font-size: 1.5rem; /* Smaller font size for sub-sub-heading */
    margin-top: 1.8rem; /* Spacing above h3 */
    margin-bottom: 0.8rem; /* Spacing below h3 */
    color: var(--boardverse-primary-dark); /* Heading color */
    font-weight: 600; /* Semi-bold font weight */
}

.policyScopeWrap h4 {
    font-size: 1.2rem; /* Smaller font size for minor headings */
    margin-top: 1.5rem; /* Spacing above h4 */
    margin-bottom: 0.6rem; /* Spacing below h4 */
    color: var(--boardverse-primary-dark); /* Heading color */
    font-weight: 500; /* Medium font weight */
}

.policyScopeWrap h5 {
    font-size: 1rem; /* Smallest font size for very minor headings */
    margin-top: 1.2rem; /* Spacing above h5 */
    margin-bottom: 0.5rem; /* Spacing below h5 */
    color: var(--boardverse-primary-dark); /* Heading color */
    font-weight: 500; /* Medium font weight */
}

/* Paragraph Styles within Policy Scope */
.policyScopeWrap p {
    font-size: 1rem; /* Base font size for paragraphs */
    margin-bottom: 1rem; /* Spacing below paragraphs */
    line-height: 1.7; /* Line height for readability */
}

/* Unordered List Styles within Policy Scope */
.policyScopeWrap ul {
    list-style: disc; /* Default disc bullet style */
    padding-left: 1.5rem; /* Indentation for list items */
    margin-bottom: 1rem; /* Spacing below the list */
}

/* List Item Styles within Policy Scope */
.policyScopeWrap ul li {
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.6; /* Line height for list items */
}

/* Optional: Ordered List Styles for completeness, if needed */
.policyScopeWrap ol {
    list-style: decimal; /* Default decimal numbering style */
    padding-left: 1.5rem; /* Indentation for list items */
    margin-bottom: 1rem; /* Spacing below the list */
}

.policyScopeWrap ol li {
    margin-bottom: 0.5rem; /* Spacing between list items */
    line-height: 1.6; /* Line height for list items */
}
@media (max-width:576px) {
    .swiper-button-next {
        display: none !important;
    }
    .swiper-button-prev {
        display: none !important;
    }
}
section {
    overflow: hidden;
}