/* General Body and Typography */
body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    color: #343a40; /* Standard dark text color */
    background-color: #f8f9fa; /* Light background for general sections */
    scroll-behavior: smooth; /* Smooth scroll for anchor links */
}

/* Custom Colors */
:root {
    --bs-primary: #5f8bdf; /* Deep sophisticated blue */
    --bs-secondary: #6c757d; /* Standard Bootstrap secondary */
    --bs-success: #28a745; /* Standard Bootstrap success */
    --bs-info: #17a2b8; /* Standard Bootstrap info */
    --bs-warning: #ffc107; /* Standard Bootstrap warning */
    --bs-danger: #dc3545; /* Standard Bootstrap danger */
    --bs-light: #f8f9fa; /* Standard Bootstrap light */
    --bs-dark: #212529; /* Standard Bootstrap dark */
    --bs-white: #fff;
}

.bg-primary { background-color: var(--bs-primary) !important; }
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.btn-primary:hover {
    background-color: #122038; /* Slightly darker primary on hover */
    border-color: #122038;
}
.text-primary { color: var(--bs-primary) !important; }

/* Header and Navigation */
#mainHeader .navbar {
    transition: background-color 0.3s ease-in-out;
}

#mainHeader .navbar-brand {
    color: var(--bs-white);
}

#mainHeader .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease-in-out;
}

#mainHeader .navbar-nav .nav-link:hover {
    color: var(--bs-white);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh; /* Make it tall enough */
    padding-top: 120px; /* Adjust for fixed header and cookie banner */
    padding-bottom: 80px;
    background-color: var(--bs-dark); /* Fallback */
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-section h1, .hero-section p {
    color: var(--bs-white);
}

.hero-section .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--bs-white);
}

.hero-section .feature-item i {
    color: var(--bs-primary);
}

.hero-product-image {
    max-height: 400px; /* Limit image height */
    object-fit: contain;
    transform: translateY(20px); /* Slight animation effect */
    transition: transform 0.3s ease-out;
}

/* About Section */
#about .card {
    border: none;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
#about .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* How It Works Section */
.how-it-works-step {
    background-color: #2a2e33; /* Slightly lighter dark for cards */
    color: var(--bs-white);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.how-it-works-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.3) !important;
}

.how-it-works-step .step-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bs-primary);
    line-height: 1;
    margin-bottom: 1rem;
}

/* Statistics & Features */
.feature-stat {
    background-color: var(--bs-white);
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}
.feature-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}
.feature-stat p.display-5 {
    color: var(--bs-dark);
}
.feature-stat small {
    color: var(--bs-secondary) !important;
}


/* Customer Testimonials */
.testimonial-card {
    background-color: #2a2e33; /* Darker background for testimonials */
    color: var(--bs-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-card i.bi-quote {
    position: absolute;
    top: 15px;
    right: 20px;
    color: rgba(255, 255, 255, 0.1);
    font-size: 6rem;
    z-index: 0;
}

.testimonial-card p {
    position: relative; /* Ensure text is above quote icon */
    z-index: 1;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

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

/* Order Form */
#order-form .card {
    background-color: var(--bs-white);
    border: none;
}
#order-form .form-check-label {
    cursor: pointer;
}
#order-form .form-check-input:checked + .form-check-label .badge {
    background-color: var(--bs-primary) !important;
}
#order-form .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(26, 43, 76, 0.25); /* Primary color with transparency */
}

/* Footer */
footer .footer-logo {
    max-height: 40px;
}

footer .list-unstyled a {
    transition: color 0.2s ease-in-out;
}

footer .list-unstyled a:hover {
    color: var(--bs-primary) !important;
}

footer .list-inline-item a {
    transition: color 0.2s ease-in-out;
}
footer .list-inline-item a:hover {
    color: var(--bs-primary) !important;
}

/* Cookie Banner */
.cookie-banner {
    z-index: 1050; /* Above navbar */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cookie-banner p {
    margin-bottom: 0;
    color: var(--bs-white);
}
.cookie-banner a {
    color: #6ba5d3 !important; /* Make links stand out */
}
.cookie-banner .btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.cookie-banner .btn-outline-light {
    border-color: var(--bs-white);
    color: var(--bs-white);
}
.cookie-banner .btn-outline-light:hover {
    background-color: var(--bs-white);
    color: var(--bs-dark);
}

/* Cookie Modal */
.modal-content {
    background-color: var(--bs-white);
    color: var(--bs-dark);
}
.modal-header {
    border-bottom: 1px solid #dee2e6;
}
.modal-footer {
    border-top: 1px solid #dee2e6;
}
.modal-body small {
    font-size: 0.85em;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 100px; /* Adjust for smaller screens */
        padding-bottom: 60px;
    }
    .hero-product-image {
        display: none !important; /* Hide image on smaller screens */
    }
    .hero-section .col-lg-7 {
        width: 100%;
    }
    .navbar-collapse {
        background-color: var(--bs-dark); /* Ensure background for collapsed menu */
        padding: 1rem;
    }
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.1);
    }
    .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.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
}

@media (max-width: 767.98px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start !important;
        text-align: left;
    }
    .cookie-banner p {
        margin-bottom: 0.5rem;
    }
    .cookie-banner div {
        width: 100%;
        display: flex;
        justify-content: flex-end;
    }
    .cookie-banner .btn {
        flex-grow: 1;
    }
}
/* Styles for content within policyScopeWrap (e.g., Privacy Policy, Terms of Service) */
.policyScopeWrap {
    /* Top and side padding for the content wrapper */
    padding-top: 3rem; /* Padding from the top */
    padding-bottom: 3rem; /* Padding from the bottom */
    padding-left: 1.5rem; /* Padding on the left side */
    padding-right: 1.5rem; /* Padding on the right side */
    max-width: 960px; /* Max width to keep content readable on large screens */
    margin-left: auto; /* Center the block horizontally */
    margin-right: auto; /* Center the block horizontally */
    color: #343a40; /* Default text color for consistency */
}

.policyScopeWrap h1 {
    /* Heading 1 styles */
    font-size: 2.2rem; /* Moderate font size for main title */
    margin-top: 2rem; /* Top margin for spacing */
    margin-bottom: 1.5rem; /* Bottom margin for spacing */
    line-height: 1.2; /* Line height for readability */
    color: var(--bs-dark); /* Darker color for headings */
}

.policyScopeWrap h2 {
    /* Heading 2 styles */
    font-size: 1.8rem; /* Font size for sub-headings */
    margin-top: 1.8rem; /* Top margin for spacing */
    margin-bottom: 1.2rem; /* Bottom margin for spacing */
    line-height: 1.3; /* Line height for readability */
    color: var(--bs-dark);
}

.policyScopeWrap h3 {
    /* Heading 3 styles */
    font-size: 1.5rem; /* Font size for section titles */
    margin-top: 1.5rem; /* Top margin for spacing */
    margin-bottom: 1rem; /* Bottom margin for spacing */
    line-height: 1.4; /* Line height for readability */
    color: var(--bs-dark);
}

.policyScopeWrap h4 {
    /* Heading 4 styles */
    font-size: 1.25rem; /* Font size for sub-section titles */
    margin-top: 1.2rem; /* Top margin for spacing */
    margin-bottom: 0.8rem; /* Bottom margin for spacing */
    line-height: 1.5; /* Line height for readability */
    color: var(--bs-dark);
}

.policyScopeWrap h5 {
    /* Heading 5 styles */
    font-size: 1.1rem; /* Font size for minor headings */
    margin-top: 1rem; /* Top margin for spacing */
    margin-bottom: 0.7rem; /* Bottom margin for spacing */
    line-height: 1.6; /* Line height for readability */
    color: var(--bs-dark);
}

.policyScopeWrap p {
    /* Paragraph styles */
    font-size: 1rem; /* Standard paragraph font size */
    margin-bottom: 1rem; /* Bottom margin for spacing between paragraphs */
    line-height: 1.7; /* Increased line height for better readability */
}

.policyScopeWrap ul {
    /* Unordered list styles */
    list-style: disc; /* Default disc bullet points */
    margin-top: 0.5rem; /* Top margin for spacing */
    margin-bottom: 1rem; /* Bottom margin for spacing after the list */
    padding-left: 25px; /* Indent for bullet points */
}

.policyScopeWrap ol {
    /* Ordered list styles */
    list-style: decimal; /* Default decimal numbering */
    margin-top: 0.5rem; /* Top margin for spacing */
    margin-bottom: 1rem; /* Bottom margin for spacing after the list */
    padding-left: 25px; /* Indent for numbers */
}

.policyScopeWrap li {
    /* List item styles */
    margin-bottom: 0.5rem; /* Margin between list items */
    line-height: 1.6; /* Line height for readability within list items */
}

.policyScopeWrap a {
    /* Link styles within policy content */
    color: var(--bs-primary); /* Use primary color for links */
    text-decoration: underline; /* Underline links by default */
    transition: color 0.2s ease-in-out; /* Smooth transition on hover */
}

.policyScopeWrap a:hover {
    /* Link hover styles */
    color: #122038; /* Slightly darker primary on hover */
    text-decoration: none; /* Remove underline on hover */
}
