@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
    --qjj-primary: #2563eb;
    --qjj-secondary: #1e40af;
    --qjj-accent: #f59e0b;
    --qjj-background: #ffffff;
    --qjj-text: #0f172a;
    --qjj-muted: #94a3b8;
    --qjj-light-grey: #f8fafc;
    --qjj-dark-blue: #0f172a;
    --qjj-font-heading: 'Roboto', sans-serif;
    --qjj-font-body: 'Inter', sans-serif;
    --qjj-border-radius: 8px;
    --qjj-transition-speed: 0.3s;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--qjj-font-body);
    line-height: 1.6;
    color: var(--qjj-text);
    background-color: var(--qjj-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--qjj-primary);
    color: var(--qjj-background);
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Scale */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--qjj-font-heading);
    color: var(--qjj-dark-blue);
    line-height: 1.2;
    margin-bottom: 0.8em;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

h4 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

h5 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

h6 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--qjj-muted);
}

p {
    margin-bottom: 1em;
}

strong {
    font-weight: 600;
}

/* Utility Classes */
.bk-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.bk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.bk-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.bk-text-center {
    text-align: center;
}

.bk-section-padding {
    padding: 80px 0;
}

/* Section Backgrounds */
.bk-bg-light {
    background-color: var(--qjj-light-grey);
}

.bk-bg-primary {
    background-color: var(--qjj-primary);
    color: #ffffff;
}

.bk-bg-primary h2, .bk-bg-primary h3, .bk-bg-primary h4,
.bk-bg-primary p, .bk-bg-primary a {
    color: inherit;
}

/* Buttons */
.bk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: var(--qjj-border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--qjj-transition-speed) ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bk-btn-primary {
    background-color: var(--qjj-primary);
    color: #ffffff;
    border-color: var(--qjj-primary);
}

.bk-btn-primary:hover {
    background-color: var(--qjj-secondary);
    border-color: var(--qjj-secondary);
    transform: translateY(-2px);
}

.bk-btn-secondary {
    background-color: var(--qjj-accent);
    color: var(--qjj-dark-blue);
    border-color: var(--qjj-accent);
}

.bk-btn-secondary:hover {
    background-color: darken(var(--qjj-accent), 10%);
    border-color: darken(var(--qjj-accent), 10%);
    transform: translateY(-2px);
}

.bk-btn-outline {
    background-color: transparent;
    color: var(--qjj-primary);
    border-color: var(--qjj-primary);
}

.bk-btn-outline:hover {
    background-color: var(--qjj-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

.bk-btn-icon {
    margin-right: 8px;
}

/* Header & Navigation */
.bk-header {
    background-color: var(--qjj-background);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bk-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bk-logo {
    font-family: var(--qjj-font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--qjj-primary);
}

.bk-logo span {
    color: var(--qjj-accent);
}

.bk-nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.bk-nav-links a {
    color: var(--qjj-text);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.bk-nav-links a:hover {
    color: var(--qjj-primary);
}

.bk-nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--qjj-primary);
    transition: width var(--qjj-transition-speed) ease;
}

.bk-nav-links a:hover::after {
    width: 100%;
}

.bk-mobile-menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--qjj-primary);
}

.bk-mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--qjj-background);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: max-height var(--qjj-transition-speed) ease-out;
    overflow: hidden;
    max-height: 0;
}

.bk-mobile-nav.active {
    max-height: 300px; /* Adjust based on content */
}

.bk-mobile-nav a {
    padding: 1rem;
    color: var(--qjj-text);
    text-align: center;
    border-bottom: 1px solid var(--qjj-light-grey);
}

.bk-mobile-nav a:hover {
    background-color: var(--qjj-light-grey);
    color: var(--qjj-primary);
}

/* Hero Section */
.bk-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.bk-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    z-index: 1;
}

.bk-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 1rem;
}

.bk-hero h1 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.bk-hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Section spacing and dividers */
.bk-section {
    padding: 80px 0;
    position: relative;
}

.bk-section:nth-of-type(even) {
    background-color: var(--qjj-light-grey);
}

.bk-section-separator {
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--qjj-primary), var(--qjj-accent));
    margin: 40px auto;
    opacity: 0.2;
}

/* Cards */
.bk-card {
    background-color: var(--qjj-background);
    border-radius: var(--qjj-border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    transition: transform var(--qjj-transition-speed) ease, box-shadow var(--qjj-transition-speed) ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

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

.bk-card-icon {
    font-size: 3rem;
    color: var(--qjj-primary);
    margin-bottom: 1rem;
}

.bk-card-img {
    border-radius: var(--qjj-border-radius);
    margin-bottom: 1rem;
    object-fit: cover;
    width: 100%;
    height: 200px;
}

.bk-card-body {
    flex-grow: 1;
}

/* Trust Badges */
.bk-trust-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--qjj-light-grey);
    border-radius: 50px;
    padding: 0.7rem 1.5rem;
    font-weight: 500;
    color: var(--qjj-text);
    gap: 0.5rem;
    margin: 0.5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.bk-trust-badge i {
    color: var(--qjj-accent);
    font-size: 1.2rem;
}

/* Form Styling */
.bk-form-group {
    margin-bottom: 1.5rem;
}

.bk-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--qjj-text);
}

.bk-form-group input,
.bk-form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--qjj-muted);
    border-radius: var(--qjj-border-radius);
    font-family: var(--qjj-font-body);
    font-size: 1rem;
    color: var(--qjj-text);
    background-color: var(--qjj-background);
    transition: border-color var(--qjj-transition-speed) ease, box-shadow var(--qjj-transition-speed) ease;
}

.bk-form-group input:focus,
.bk-form-group textarea:focus {
    border-color: var(--qjj-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.bk-form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.bk-form-message {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--qjj-border-radius);
    font-weight: 600;
}

.bk-form-message.bk-success {
    background-color: #d1fae5; /* green-100 */
    color: #065f46; /* green-700 */
    border: 1px solid #34d399; /* green-300 */
}

.bk-form-message.bk-error {
    background-color: #fee2e2; /* red-100 */
    color: #991b1b; /* red-700 */
    border: 1px solid #fca5a5; /* red-300 */
}

/* FAQ Accordion */
.bk-faq-item {
    background-color: var(--qjj-background);
    border: 1px solid var(--qjj-light-grey);
    border-radius: var(--qjj-border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.bk-faq-q {
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--qjj-dark-blue);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--qjj-transition-speed) ease;
}

.bk-faq-q:hover {
    background-color: var(--qjj-light-grey);
}

.bk-faq-q::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--qjj-primary);
    transition: transform var(--qjj-transition-speed) ease;
}

.bk-faq-item.active .bk-faq-q::after {
    content: '-';
    transform: rotate(0deg);
}

.bk-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--qjj-transition-speed) ease-in-out;
    padding: 0 1.5rem;
}

.bk-faq-item.active .bk-faq-a {
    max-height: 500px; /* Sufficiently large value */
    padding-bottom: 1.5rem;
}

.bk-faq-a p {
    margin-top: 1rem;
    color: var(--qjj-text);
}

/* Testimonials */
.bk-testimonial-card {
    background-color: var(--qjj-background);
    border-radius: var(--qjj-border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    text-align: center;
    font-size: 1.1rem;
    font-style: italic;
    color: var(--qjj-text);
}

.bk-testimonial-card p {
    margin-bottom: 1.5rem;
}

.bk-testimonial-author {
    font-weight: 600;
    color: var(--qjj-dark-blue);
    font-style: normal;
}

.bk-testimonial-author span {
    display: block;
    font-size: 0.9rem;
    color: var(--qjj-muted);
    font-weight: 400;
}

/* Footer */
.bk-footer {
    background-color: var(--qjj-dark-blue);
    color: #ffffff;
    padding: 60px 0 30px 0;
    font-size: 0.9rem;
}

.bk-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.bk-footer-col h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.bk-footer-col ul {
    list-style: none;
}

.bk-footer-col ul li {
    margin-bottom: 0.8rem;
}

.bk-footer-col a {
    color: var(--qjj-muted);
    transition: color var(--qjj-transition-speed) ease;
}

.bk-footer-col a:hover {
    color: var(--qjj-primary);
}

.bk-newsletter-form input[type="email"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: var(--qjj-border-radius);
    margin-bottom: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.bk-newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.bk-newsletter-form .bk-btn-primary {
    width: 100%;
}

.bk-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--qjj-muted);
}

.bk-social-links {
    margin-top: 1.5rem;
}

.bk-social-links a {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 0.8rem;
    transition: color var(--qjj-transition-speed) ease;
}

.bk-social-links a:hover {
    color: var(--qjj-primary);
}

/* Scroll-triggered Animations */
.bk-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.bk-animate.bk-animated {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bk-nav-links {
        gap: 1.5rem;
    }

    .bk-hero h1 {
        font-size: clamp(2.2rem, 5vw, 4rem);
    }

    .bk-hero p {
        font-size: 1.2rem;
    }

    .bk-section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .bk-nav-links {
        display: none;
    }

    .bk-mobile-menu-toggle {
        display: block;
    }

    .bk-navbar {
        padding: 0 1rem;
    }

    .bk-hero {
        min-height: 60vh;
    }

    .bk-hero h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }

    .bk-hero p {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

    h2 {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
    }

    .bk-grid {
        grid-template-columns: 1fr;
    }

    .bk-section {
        padding: 48px 0;
    }

    .bk-footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .bk-footer-col h4 {
        margin-bottom: 1rem;
    }

    .bk-newsletter-form {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .bk-newsletter-form input[type="email"] {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .bk-logo {
        font-size: 1.5rem;
    }

    .bk-hero h1 {
        font-size: clamp(1.8rem, 9vw, 3rem);
    }

    .bk-hero p {
        font-size: 1rem;
    }

    .bk-btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }

    h2 {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .bk-trust-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }

    .bk-form-group input, .bk-form-group textarea {
        padding: 0.7rem 1rem;
    }

    .bk-faq-q {
        padding: 1rem;
        font-size: 1rem;
    }

    .bk-faq-item.active .bk-faq-a {
        padding-bottom: 1rem;
    }
}

/* === Quality polish === */
button, [class*="btn"], [class*="cta"] { transition: all 0.3s ease; cursor: pointer; }
button:hover, [class*="btn"]:hover, [class*="cta"]:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); filter: brightness(1.05); }

@keyframes bkFadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.bk-animate { opacity: 0; }
.bk-animate.bk-visible { animation: bkFadeInUp 0.6s ease forwards; }