:root {
    --bt-primary: #4f762f;
    --bt-primary-dark: #244b2d;
    --bt-primary-deep: #173821;
    --bt-primary-light: #eef4df;
    --bt-accent: #d99a2b;
    --bt-accent-light: #f7e8be;
    --bt-cream: #fbfaf4;
    --bt-light: #f4f7ec;
    --bt-white: #ffffff;
    --bt-dark: #183524;
    --bt-text: #4d5b50;
    --bt-muted: #778078;
    --bt-border: #dfe7d7;
    --bt-shadow: 0 18px 48px rgba(33, 67, 39, .11);
    --bt-shadow-soft: 0 10px 30px rgba(33, 67, 39, .07);
    --bt-radius: 24px;
    --bt-radius-sm: 16px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 105px;
}

body {
    margin: 0;
    color: var(--bt-text);
    background: var(--bt-cream);
    font-family: "Lato", sans-serif;
    line-height: 1.75;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--bt-dark);
    font-family: "Nunito", sans-serif;
    font-weight: 800;
}

img { max-width: 100%; }

a {
    transition: color .2s ease, background-color .2s ease,
        border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.bt-section { padding: 100px 0; }
.bt-section-light { background: var(--bt-light); }
.bt-section-white { background: var(--bt-white); }

.bt-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--bt-primary);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.bt-section-label::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--bt-accent);
}

.bt-section-title {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.12;
}

.bt-section-heading { max-width: 760px; margin-bottom: 55px; }
.bt-section-heading.text-center { margin-right: auto; margin-left: auto; }
.bt-lead { color: var(--bt-dark); font-size: 20px; font-weight: 600; }

.bt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 13px 28px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
}

.bt-btn:hover { transform: translateY(-2px); }
.bt-btn-primary { color: var(--bt-white); background: var(--bt-primary); box-shadow: 0 12px 28px rgba(79, 118, 47, .27); }
.bt-btn-primary:hover { color: var(--bt-white); background: var(--bt-primary-dark); }
.bt-btn-outline { color: var(--bt-primary-dark); border-color: var(--bt-primary); background: transparent; }
.bt-btn-outline:hover { color: var(--bt-white); background: var(--bt-primary); }
.bt-btn-light { color: var(--bt-primary-dark); background: var(--bt-white); }
.bt-btn-light:hover { color: var(--bt-white); background: var(--bt-accent); }

/* HEADER */
.site-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(14px);
}

.site-header .navbar { min-height: 92px; background: transparent !important; }
.site-header .navbar-brand img { width: auto; max-height: 66px; }
.site-header .nav-link {
    position: relative;
    margin: 0 6px;
    padding: 12px 10px !important;
    color: var(--bt-dark);
    font-weight: 700;
}

.site-header .nav-link::after {
    content: "";
    position: absolute;
    right: 10px;
    bottom: 5px;
    left: 10px;
    height: 2px;
    background: var(--bt-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link.active { color: var(--bt-primary); }
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after { transform: scaleX(1); }

/* HERO */
.bt-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 740px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(251,250,244,.98) 0%, rgba(251,250,244,.94) 42%, rgba(251,250,244,.18) 68%, rgba(251,250,244,.02) 100%),
        url("../images/hero.jpg") center right / cover no-repeat;
}

.bt-hero::before,
.bt-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(145, 174, 87, .11);
}
.bt-hero::before { top: -160px; left: -140px; width: 360px; height: 360px; }
.bt-hero::after { right: 24%; bottom: -180px; width: 400px; height: 400px; }
.bt-hero-container { position: relative; z-index: 2; }
.bt-hero-content { max-width: 680px; padding: 115px 0; }

.bt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    padding: 9px 17px;
    border: 1px solid var(--bt-border);
    border-radius: 999px;
    color: var(--bt-primary-dark);
    background: rgba(255,255,255,.82);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.bt-eyebrow i { color: var(--bt-accent); }
.bt-hero h1 { max-width: 650px; margin-bottom: 26px; font-size: clamp(52px, 6vw, 78px); line-height: 1.02; }
.bt-hero h1 strong { color: var(--bt-primary); }
.bt-hero p { max-width: 610px; margin-bottom: 36px; color: var(--bt-text); font-size: 19px; }
.bt-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.bt-hero-badge {
    position: absolute;
    z-index: 3;
    right: 31%;
    bottom: 52px;
    max-width: 260px;
    padding: 28px;
    border-radius: 26px;
    color: var(--bt-white);
    background: linear-gradient(145deg, rgba(105,141,47,.96), rgba(68,105,42,.96));
    box-shadow: var(--bt-shadow);
}
.bt-hero-badge i { margin-bottom: 15px; font-size: 34px; }
.bt-hero-badge strong, .bt-hero-badge span { display: block; }
.bt-hero-badge strong { margin-bottom: 4px; font-family: "Nunito", sans-serif; font-size: 21px; }

/* ABOUT */
.bt-about { background: var(--bt-white); }
.bt-image-wrapper { position: relative; padding: 0 34px 34px 0; }
.bt-about-image { width: 100%; min-height: 560px; border-radius: var(--bt-radius); object-fit: cover; box-shadow: var(--bt-shadow); }
.bt-image-card {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 290px;
    padding: 22px 24px;
    border-radius: 20px;
    color: var(--bt-dark);
    background: var(--bt-accent-light);
    box-shadow: var(--bt-shadow-soft);
    font-family: "Nunito", sans-serif;
    font-weight: 800;
}
.bt-about-points { display: grid; gap: 13px; margin-top: 30px; }
.bt-about-point { display: flex; align-items: center; gap: 12px; color: var(--bt-dark); font-weight: 700; }
.bt-about-point i { color: var(--bt-primary); }
.bt-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 38px; }
.bt-stat { padding: 20px 12px; border-top: 2px solid var(--bt-primary-light); }
.bt-stat strong, .bt-stat span { display: block; }
.bt-stat strong { color: var(--bt-primary-dark); font-family: "Nunito", sans-serif; font-size: 28px; font-weight: 900; line-height: 1.1; }
.bt-stat span { margin-top: 6px; color: var(--bt-muted); font-size: 13px; }

/* SERVICES */
.bt-services {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 15%, rgba(217,154,43,.08), transparent 20%),
        radial-gradient(circle at 90% 82%, rgba(79,118,47,.10), transparent 24%),
        var(--bt-light);
}

.bt-service-card {
    height: 100%;
    padding: 38px 30px;
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius);
    background: rgba(255,255,255,.92);
    box-shadow: var(--bt-shadow-soft);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bt-service-card:hover { border-color: rgba(79,118,47,.32); transform: translateY(-7px); box-shadow: var(--bt-shadow); }
.bt-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    border-radius: 20px;
    color: var(--bt-white);
    background: linear-gradient(145deg, var(--bt-primary), #86a63f);
    font-size: 30px;
    box-shadow: 0 12px 24px rgba(79,118,47,.22);
}
.bt-service-card h3 { margin-bottom: 14px; font-size: 24px; }
.bt-service-card p { margin-bottom: 0; }

/* FOOD / DONATION CTA */
.bt-food-cta {
    padding: 25px;
    border-radius: 26px;
    color: var(--bt-white);
    background: linear-gradient(120deg, var(--bt-primary-dark), var(--bt-primary-deep));
    box-shadow: var(--bt-shadow);
}
.bt-food-cta-image { width: 100%; height: 100%; min-height: 280px; border-radius: 20px; object-fit: cover; }
.bt-food-cta-content { padding: 28px 22px; }
.bt-food-cta h2, .bt-food-cta h3 { color: var(--bt-white); }
.bt-food-cta p { color: rgba(255,255,255,.83); }
.bt-food-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 22px;
    background: rgba(255,255,255,.09);
    font-size: 31px;
}

/* GALLERY */
.bt-gallery { background: var(--bt-white); }
.bt-gallery-item { position: relative; overflow: hidden; min-height: 280px; border-radius: 20px; box-shadow: var(--bt-shadow-soft); }
.bt-gallery-item img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; transition: transform .45s ease; }
.bt-gallery-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(23,56,33,.5) 100%);
    opacity: 0;
    transition: opacity .25s ease;
}
.bt-gallery-item:hover img { transform: scale(1.05); }
.bt-gallery-item:hover::after { opacity: 1; }

/* GRANTS */
.bt-grants { background: var(--bt-light); }
.bt-grant-card {
    position: relative;
    height: 100%;
    padding: 34px;
    border: 1px solid var(--bt-border);
    border-radius: var(--bt-radius);
    background: var(--bt-white);
    box-shadow: var(--bt-shadow-soft);
}
.bt-grant-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 6px;
    border-radius: var(--bt-radius) 0 0 var(--bt-radius);
    background: linear-gradient(var(--bt-accent), var(--bt-primary));
}
.bt-grant-id {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 15px;
    border-radius: 999px;
    color: var(--bt-primary-dark);
    background: var(--bt-primary-light);
    font-size: 13px;
    font-weight: 800;
}
.bt-grant-card h3 { margin-bottom: 15px; font-size: 25px; }

/* CONTACT */
.bt-contact { background: var(--bt-white); }
.bt-contact-wrapper {
    padding: 58px;
    border: 1px solid var(--bt-border);
    border-radius: 30px;
    background: var(--bt-white);
    box-shadow: var(--bt-shadow);
}
.bt-contact-form { padding-right: 20px; }
.bt-form-control,
.contact-form input,
.contact-form textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    border: 1px solid var(--bt-border);
    border-radius: 13px;
    background: #fcfdf9;
}
textarea.bt-form-control,
.contact-form textarea { min-height: 160px; }
.bt-form-control:focus,
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--bt-primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(79,118,47,.13);
}
.bt-contact-side,
.contact-side {
    height: 100%;
    padding: 42px;
    border-radius: 24px;
    color: rgba(255,255,255,.86);
    background: linear-gradient(145deg, var(--bt-primary-dark), var(--bt-primary-deep));
}
.bt-contact-side h3,
.contact-side h3 { color: var(--bt-white); }
.bt-contact-item,
.contact-item { display: flex; align-items: flex-start; gap: 17px; margin-bottom: 24px; }
.bt-contact-icon,
.contact-icon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: var(--bt-white);
    background: rgba(255,255,255,.12);
    font-size: 21px;
}
.contact-submit-btn {
    padding: 15px 38px;
    border: none;
    border-radius: 999px;
    color: var(--bt-white);
    background: var(--bt-primary);
    font-weight: 800;
}
.contact-submit-btn:hover { background: var(--bt-primary-dark); transform: translateY(-2px); }

/* CMS PAGES */
.page-content { padding: 85px 0; background: var(--bt-light); }
.cms-content {
    padding: 55px;
    border: 1px solid var(--bt-border);
    border-radius: 28px;
    background: var(--bt-white);
    box-shadow: var(--bt-shadow);
}
.cms-content h1,
.cms-content h2,
.cms-content h3 { margin-top: 36px; margin-bottom: 18px; }
.cms-content h2 { color: var(--bt-primary-dark); }
.cms-content p,
.cms-content li { font-size: 17px; line-height: 1.85; }
.cms-content img { border-radius: 18px; box-shadow: var(--bt-shadow-soft); }

/* FOOTER */
.site-footer {
    position: relative;
    margin-top: 0;
    color: var(--bt-white);
    background:
        linear-gradient(rgba(19,52,29,.94), rgba(15,43,24,.96)),
        url("../images/footer.jpg") center center / cover no-repeat;
}
.footer-overlay { padding: 78px 0 28px; background: transparent; }
.footer-logo { max-width: 225px; margin-bottom: 24px; }
.footer-about { max-width: 380px; color: rgba(255,255,255,.82); line-height: 1.8; }
.site-footer h5 { margin-bottom: 24px; color: var(--bt-white); }
.footer-contact p { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 17px; }
.footer-contact i { width: 22px; margin-top: 4px; color: var(--bt-accent); }
.footer-menu li { margin-bottom: 12px; }
.footer-menu a { color: rgba(255,255,255,.84); text-decoration: none; }
.footer-menu a:hover { padding-left: 7px; color: var(--bt-accent-light); }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    margin-top: 55px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.64);
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1199px) {
    .bt-hero-badge { right: 20px; }
}

@media (max-width: 991px) {
    .bt-section { padding: 78px 0; }
    .bt-hero { min-height: 680px; background-position: 67% center; }
    .bt-hero::before, .bt-hero::after { display: none; }
    .bt-hero-badge { display: none; }
    .bt-about-image { min-height: 470px; }
    .bt-stats { grid-template-columns: 1fr; }
    .bt-contact-form { padding-right: 0; }
    .site-header .navbar-collapse { padding: 18px 0 8px; }
}

@media (max-width: 767px) {
    .bt-section { padding: 64px 0; }
    .bt-hero {
        min-height: 620px;
        background:
            linear-gradient(rgba(251,250,244,.91), rgba(251,250,244,.91)),
            url("../images/hero.jpg") center center / cover no-repeat;
    }
    .bt-hero-content { padding: 90px 0 75px; }
    .bt-hero h1 { font-size: 45px; }
    .bt-hero p { font-size: 17px; }
    .bt-hero-actions { align-items: stretch; flex-direction: column; }
    .bt-hero-actions .bt-btn { width: 100%; }
    .bt-section-title { font-size: 34px; }
    .bt-image-wrapper { padding: 0 12px 50px 0; }
    .bt-about-image { min-height: 370px; }
    .bt-image-card { max-width: 245px; }
    .bt-food-cta { padding: 18px; }
    .bt-contact-wrapper,
    .cms-content { padding: 30px 22px; }
    .bt-contact-side,
    .contact-side { padding: 30px 24px; }
    .footer-bottom { flex-direction: column; }
}
