:root {
    --primary-color: #A34A2A; /* Default: A warm, inviting red-brown */
    --secondary-color: #5C6F5C; /* Muted green */
    --text-color: #333333;
    --heading-color: #222222;
    --background-light: #F8F8F8;
    --background-dark: #FFFFFF; /* For cards, modals */
    --gradient-start: #F8F8F8;
    --gradient-end: #F0F0F0;
    --hero-gradient-start: #F5EFE6; /* Soft cream */
    --hero-gradient-end: #E0D8CC; /* Slightly darker cream */
    --border-color: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.08);

    /* Jade Theme */
    --jade-primary-color: #4CAF50; /* Green */
    --jade-hero-gradient-start: #E6F5E6;
    --jade-hero-gradient-end: #CCEDCC;

    /* Crimson Theme */
    --crimson-primary-color: #DC143C; /* Crimson */
    --crimson-hero-gradient-start: #F5E6E6;
    --crimson-hero-gradient-end: #EDCCCC;
}

body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-light);
    scroll-behavior: smooth;
}

section{
    overflow-y: hidden;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans SC', 'Inter', sans-serif;
    color: var(--heading-color);
    font-weight: 700;
}

h1.display-3 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2.display-4 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    position: relative;
    padding-bottom: 15px;
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-primary, .custom-cta {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

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

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

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

.card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.navbar {
    background-color: var(--background-dark);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1030;
    padding: 15px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: clamp(18px, 4vw, 26px);
    font-weight: 700;
    color: var(--heading-color);
}

.navbar-brand img {
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-nav .nav-link {
    color: var(--heading-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    position: relative;
}

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

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

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

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--hero-gradient-start), var(--hero-gradient-end));
    padding-top: 100px;
    padding-bottom: 50px;
    color: var(--heading-color);
}

.hero-section h1 {
    color: var(--heading-color);
}

.hero-section p.lead {
    color: var(--text-color);
    font-weight: 400;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.theme-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.theme-toggle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.theme-toggle[data-theme="default"] { background-color: var(--primary-color); }
.theme-toggle[data-theme="jade"] { background-color: var(--primary-color); }
.theme-toggle[data-theme="crimson"] { background-color: var(--primary-color); }

.theme-toggle.active, .theme-toggle:hover {
    border-color: var(--secondary-color);
    transform: scale(1.1);
}

.about-section {
    background-color: var(--background-dark);
}

.timeline-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-wrapper::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
    z-index: 1;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    position: relative;
    z-index: 4;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -12px;
    background-color: var(--primary-color);
    border: 4px solid var(--background-dark);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.right::after {
    left: -12px;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    z-index: 4;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.timeline-item.left .timeline-icon {
    right: -75px;
}

.timeline-item.right .timeline-icon {
    left: -75px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--background-light);
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.timeline-content::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 22px;
    width: 0;
    z-index: 1;
    border: medium solid var(--background-light);
    border-width: 10px 10px 10px 0;
    border-color: transparent var(--background-light) transparent transparent;
}

.timeline-item.left .timeline-content::before {
    right: -10px;
}

.timeline-item.right .timeline-content::before {
    left: -10px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent var(--background-light);
}

.timeline-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-date {
    font-style: italic;
    color: #777;
    font-size: 0.9em;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .timeline-wrapper::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.right {
        left: 0%;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 24px;
    }

    .timeline-item.left .timeline-icon,
    .timeline-item.right .timeline-icon {
        left: 0;
    }

    .timeline-item.left .timeline-content::before,
    .timeline-item.right .timeline-content::before {
        left: 48px;
        border-width: 10px 10px 0 10px;
        border-color: transparent transparent var(--background-light) transparent;
        top: -10px;
    }
}

.menu-grid .card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.menu-item .card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-item .card-title {
    color: var(--primary-color);
    font-weight: 600;
}

.menu-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-top: 10px;
}

#fullMenuModal .modal-content {
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#fullMenuModal .modal-header {
    background-color: var(--primary-color);
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

#fullMenuModal .modal-title {
    color: white;
}

#fullMenuModal .btn-close {
    filter: invert(1) brightness(2);
}

#fullMenuModal .list-group-item {
    border-color: var(--border-color);
    background-color: var(--background-light);
    margin-bottom: 5px;
    border-radius: 8px;
}

#fullMenuModal .badge {
    background-color: var(--primary-color) !important;
}


.features-grid .feature-item {
    position: relative;
    overflow: hidden;
    cursor: default;
    background-color: var(--background-dark);
    border: 1px solid var(--border-color);
}

.features-grid .feature-item .feature-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    transition: color 0.3s ease, transform 0.3s ease;
}

.features-grid .feature-item .card-title {
    font-weight: 600;
    color: var(--heading-color);
}

.features-grid:hover .feature-item {
    opacity: 0.6;
    filter: blur(2px);
    transform: scale(0.98);
}

.features-grid .feature-item:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.features-grid .feature-item:hover .feature-icon {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.features-grid .feature-item,
.features-grid .feature-item .feature-icon {
    transition: all 0.4s ease-in-out;
}


.portfolio-timeline-wrapper {
    padding: 20px 0;
    position: relative;
}

.portfolio-item {
    text-align: center;
    padding: 20px;
    background-color: var(--background-dark);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.portfolio-item img {
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-title {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.portfolio-date {
    font-style: italic;
    color: #777;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-button-next::after, .swiper-button-prev::after {
    font-size: 1.5rem;
}

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

.steps-carousel-wrapper {
    padding: 20px 0;
}

.step-card {
    background-color: var(--background-dark);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 370px;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1;
}

.step-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.step-title {
    font-weight: 600;
    color: var(--heading-color);
    margin-bottom: 10px;
}

.team-timeline-wrapper {
    padding: 20px 0;
}

.team-member-card {
    text-align: center;
    background-color: var(--background-dark);
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
    padding: 20px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-name {
    color: var(--heading-color);
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 5px;
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.95em;
    margin-bottom: 5px;
}

.join-date {
    font-style: italic;
    color: #777;
    font-size: 0.85em;
}

.faq-questions-column .list-group-item {
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--background-dark);
    color: var(--heading-color);
    font-weight: 500;
    padding: 15px 20px;
}

.faq-questions-column .list-group-item:hover,
.faq-questions-column .list-group-item.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.faq-questions-column .list-group-item.active {
    pointer-events: none;
}

.faq-answers-column .faq-answer-item {
    background-color: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 15px var(--shadow-color);
    display: none;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.faq-answers-column .faq-answer-item.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.faq-answers-column .faq-answer-item h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.footer {
    background-color: var(--heading-color);
    color: #E0E0E0;
    padding-top: 60px;
    padding-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
}

.footer-brand img {
    border-radius: 50%;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer ul {
    padding-left: 0;
}

.footer ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer ul li a {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--primary-color);
}

.footer ul li .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer .policy-links a {
    color: #E0E0E0;
    font-size: 0.9em;
    padding: 0 10px;
}

.footer .policy-links li:last-child a {
    border-right: none;
}

.footer .policy-links a:hover {
    color: var(--primary-color);
}

.dynamic-widgets {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dynamic-widgets > div {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95em;
    color: #CCCCCC;
    margin-bottom: 10px;
}

.dynamic-widgets .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.dynamic-widgets #chatStatus.text-success {
    color: #28a745 !important;
}

.cookie-banner {
    z-index: 1050;
    background-color: rgba(0, 0, 0, 0.85) !important;
    color: white !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

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

.cookie-banner a {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

.cookie-banner .btn {
    border-radius: 5px;
    padding: 5px 15px;
    font-size: 0.85rem;
}

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

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

.cookie-banner .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
}

.cookie-banner .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

#cookieModal .modal-content {
    border-radius: 10px;
}

#cookieModal .modal-header {
    background-color: var(--primary-color);
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#cookieModal .modal-title {
    color: white;
}

#cookieModal .btn-close {
    filter: invert(1) brightness(2);
}

#cookieModal .form-check-label {
    font-weight: 500;
}

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

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

#cookieModal .btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

body.theme-jade {
    --primary-color: var(--jade-primary-color);
    --hero-gradient-start: var(--jade-hero-gradient-start);
    --hero-gradient-end: var(--jade-hero-gradient-end);
}

body.theme-crimson {
    --primary-color: var(--crimson-primary-color);
    --hero-gradient-start: var(--crimson-hero-gradient-start);
    --hero-gradient-end: var(--crimson-hero-gradient-end);
}

.swiper-button-next, .swiper-button-prev {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.05);
}

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

.swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
    transition: background-color 0.3s ease;
}

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

@media (max-width: 768px) {
    .swiper-button-next, .swiper-button-prev {
        display: none !important;
    }
}/* Main container for policy content */
.securePolicyGrid {
    padding: 80px 30px; /* Top/bottom and side padding */
    max-width: 1200px; /* Limit content width */
    margin: 0 auto; /* Center the container */
}

/* Heading 1 styles */
.securePolicyGrid h1 {
    font-size: 36px; /* Moderate H1 size */
    font-weight: 700; /* Bold weight */
    line-height: 1.2; /* Tighter line spacing */
    margin-top: 40px; /* Space above H1 */
    margin-bottom: 20px; /* Space below H1 */
}

/* Heading 2 styles */
.securePolicyGrid h2 {
    font-size: 30px; /* Moderate H2 size */
    font-weight: 700;
    line-height: 1.2;
    margin-top: 35px;
    margin-bottom: 18px;
}

/* Heading 3 styles */
.securePolicyGrid h3 {
    font-size: 24px; /* Moderate H3 size */
    font-weight: 700;
    line-height: 1.3;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Heading 4 styles */
.securePolicyGrid h4 {
    font-size: 20px; /* Moderate H4 size */
    font-weight: 700;
    line-height: 1.4;
    margin-top: 25px;
    margin-bottom: 12px;
}

/* Heading 5 styles */
.securePolicyGrid h5 {
    font-size: 18px; /* Moderate H5 size */
    font-weight: 700;
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Paragraph styles */
.securePolicyGrid p {
    font-size: 16px; /* Standard paragraph font size */
    line-height: 1.6; /* Good readability */
    margin-bottom: 1em; /* Space between paragraphs */
}

/* Unordered list styles */
.securePolicyGrid ul {
    list-style-type: disc; /* Standard disc bullets */
    padding-left: 25px; /* Indent bullets */
    margin-bottom: 1.5em; /* Space after the list */
    margin-top: 1em; /* Space before the list if it follows text */
}

/* List item styles */
.securePolicyGrid li {
    font-size: 16px; /* List item font size */
    line-height: 1.6; /* Good readability */
    margin-bottom: 0.5em; /* Space between list items */
}

/* Optional: Remove bottom margin from the last list item for cleaner spacing */
.securePolicyGrid ul li:last-child {
    margin-bottom: 0;
}

/* Optional: Remove bottom margin from the last paragraph for cleaner spacing */
.securePolicyGrid p:last-child {
    margin-bottom: 0;
}


.swiper-horizontal>.swiper-pagination-bullets, .swiper-pagination-bullets.swiper-pagination-horizontal{
    bottom: -5px !important