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

:root {
    --3xt-primary: #059669;
    --3xt-secondary: #047857;
    --3xt-accent: #f97316;
    --3xt-background: #fafaf9;
    --3xt-text: #1c1917;
    --3xt-muted: #78716c;
    --3xt-white: #ffffff;
    --3xt-light-gray: #e7e5e4;
    --3xt-dark-gray: #292524;

    --3xt-heading-font: 'Outfit', sans-serif;
    --3xt-body-font: 'Lato', sans-serif;

    --3xt-border-radius-sm: 0.25rem;
    --3xt-border-radius-md: 0.5rem;
    --3xt-border-radius-lg: 0.75rem;

    --3xt-transition-speed: 0.3s;
}

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

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

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

::selection {
    background-color: var(--3xt-accent);
    color: var(--3xt-white);
}

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

a:hover {
    color: var(--3xt-accent);
    text-decoration: underline;
}

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

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--3xt-heading-font);
    color: var(--3xt-text);
    line-height: 1.2;
    margin-bottom: 0.75em;
}

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

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

h3 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

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

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

h6 {
    font-size: 1.125rem;
    font-weight: 600;
}

p {
    margin-bottom: 1em;
}

strong {
    font-weight: 700;
}

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

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

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

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

.bk-section-padding {
    padding: 8rem 0;
}

.bk-section-padding-sm {
    padding: 4rem 0;
}

/* Buttons */
.bk-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--3xt-border-radius-lg);
    font-family: var(--3xt-heading-font);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--3xt-transition-speed) ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.bk-btn-primary {
    background: linear-gradient(90deg, var(--3xt-primary) 0%, var(--3xt-secondary) 100%);
    color: var(--3xt-white);
    border-color: var(--3xt-primary);
}

.bk-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--3xt-secondary) 0%, var(--3xt-primary) 100%);
    transition: all var(--3xt-transition-speed) ease;
    z-index: -1;
}

.bk-btn-primary:hover::before {
    left: 0;
}

.bk-btn-secondary {
    background-color: var(--3xt-accent);
    color: var(--3xt-white);
    border-color: var(--3xt-accent);
}

.bk-btn-secondary:hover {
    background-color: var(--3xt-primary);
    border-color: var(--3xt-primary);
}

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

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

/* Header & Navigation */
.bk-header {
    background-color: var(--3xt-background);
    padding: 1rem 0;
    border-bottom: 1px solid var(--3xt-light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.bk-nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bk-nav-list li {
    margin-left: 2rem;
}

.bk-nav-list a {
    color: var(--3xt-text);
    font-weight: 400;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.25rem;
}

.bk-nav-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background-color: var(--3xt-accent);
    transition: width var(--3xt-transition-speed) ease;
}

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

.bk-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.bk-hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--3xt-text);
    transition: all var(--3xt-transition-speed) ease;
}

.bk-nav-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--3xt-dark-gray);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--3xt-transition-speed) ease, visibility var(--3xt-transition-speed) ease;
    z-index: 999;
    list-style: none;
    padding: 0;
}

.bk-nav-mobile.active {
    opacity: 1;
    visibility: visible;
}

.bk-nav-mobile li {
    margin: 1.5rem 0;
}

.bk-nav-mobile a {
    color: var(--3xt-white);
    font-size: 1.8rem;
    font-weight: 600;
}

.bk-hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.bk-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.bk-hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.bk-hero {
    position: relative;
    background-color: var(--3xt-dark-gray);
    color: var(--3xt-white);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bk-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.9) 0%, rgba(4, 120, 87, 0.9) 50%, rgba(249, 115, 22, 0.7) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%); /* Angled bottom */
    z-index: 0;
}

.bk-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.bk-hero-content h1 {
    color: var(--3xt-white);
    margin-bottom: 1rem;
}

.bk-hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--3xt-light-gray);
}

/* Section Spacing & Backgrounds */
.bk-section {
    padding: 8rem 0;
    position: relative;
}

.bk-section:nth-child(even) {
    background-color: var(--3xt-light-gray);
}

.bk-section-separator {
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--3xt-primary), var(--3xt-accent));
    margin: 0 auto;
    opacity: 0.7;
}

/* Cards */
.bk-card {
    background-color: var(--3xt-white);
    border-radius: var(--3xt-border-radius-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    transition: transform var(--3xt-transition-speed) ease, box-shadow var(--3xt-transition-speed) ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

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

.bk-card h3 {
    margin-top: 0;
    color: var(--3xt-secondary);
}

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

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

.bk-form-group input[type='text'],
.bk-form-group input[type='email'],
.bk-form-group input[type='tel'],
.bk-form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--3xt-muted);
    border-radius: var(--3xt-border-radius-sm);
    font-family: var(--3xt-body-font);
    font-size: 1rem;
    color: var(--3xt-text);
    background-color: var(--3xt-white);
    transition: border-color var(--3xt-transition-speed) ease, box-shadow var(--3xt-transition-speed) ease;
}

.bk-form-group input:focus,
.bk-form-group textarea:focus {
    border-color: var(--3xt-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
}

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

.bk-form-success, .bk-form-error {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: var(--3xt-border-radius-sm);
    font-weight: 600;
    display: none;
}

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

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

/* Trust Indicators */
.bk-trust-item {
    display: inline-flex;
    align-items: center;
    background-color: var(--3xt-light-gray);
    padding: 0.75rem 1.5rem;
    border-radius: var(--3xt-border-radius-lg);
    font-weight: 600;
    color: var(--3xt-secondary);
    margin: 0.5rem;
}

.bk-trust-item svg {
    margin-right: 0.75rem;
    color: var(--3xt-primary);
    font-size: 1.5rem;
}

/* Footer */
.bk-footer {
    background-color: var(--3xt-dark-gray);
    color: var(--3xt-white);
    padding: 4rem 0 2rem 0;
    font-size: 0.95rem;
}

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

.bk-footer-about h3,
.bk-footer-links h3,
.bk-footer-contact h3 {
    color: var(--3xt-primary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.bk-footer-about p {
    color: var(--3xt-muted);
}

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

.bk-footer-links a,
.bk-footer-contact a,
.bk-footer-contact p {
    color: var(--3xt-light-gray);
    margin-bottom: 0.75rem;
    display: block;
    transition: color var(--3xt-transition-speed) ease;
}

.bk-footer-links a:hover,
.bk-footer-contact a:hover {
    color: var(--3xt-accent);
    text-decoration: none;
}

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

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.bk-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--bk-animation-delay, 0s);
}

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

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

.bk-faq-q {
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--3xt-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--3xt-transition-speed) ease;
}

.bk-faq-q:hover {
    background-color: var(--3xt-light-gray);
}

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

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

.bk-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--3xt-transition-speed) cubic-bezier(0, 1, 0, 1);
    padding: 0 2rem;
}

.bk-faq-item.active .bk-faq-a {
    max-height: 500px; /* Arbitrary large value */
    transition: max-height var(--3xt-transition-speed) cubic-bezier(1, 0, 1, 0);
    padding-bottom: 1.5rem;
}

.bk-faq-a p {
    color: var(--3xt-muted);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .bk-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .bk-nav-list {
        display: none;
    }

    .bk-hamburger {
        display: flex;
    }

    .bk-hero-content h1 {
        font-size: clamp(2.2rem, 8vw, 3.8rem);
    }

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

    .bk-section-padding {
        padding: 6rem 0;
    }

    .bk-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .bk-footer-content {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .bk-hero {
        min-height: 70vh;
    }

    .bk-hero-bg {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
    }

    .bk-hero-content {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .bk-section-padding {
        padding: 4rem 0;
    }

    h1 {
        font-size: clamp(2rem, 10vw, 3.5rem);
    }

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

    .bk-btn {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }

    .bk-trust-item {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .bk-faq-q {
        font-size: 1.05rem;
        padding: 1.2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .bk-container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .bk-logo {
        font-size: 1.5rem;
    }

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

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

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

    .bk-btn {
        width: 100%;
        max-width: 250px;
        margin: 0.5rem auto;
        display: flex;
    }

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

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

    .bk-footer-about, .bk-footer-links, .bk-footer-contact {
        text-align: center;
    }

    .bk-footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}


/* === 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); }