/* --------------------------------------------------------------------------
 * Agri-Resilient Agency overrides
 * Loaded after style.css and responsive.css. Brand green comes from the logo.
 * -------------------------------------------------------------------------- */
:root {
    --ara-green: #008000;
    --ara-green-dark: #005c00;
    --ara-green-light: #e8f4e8;
    --ara-ink: #1f2a1f;
}

/* ---- brand lockup (logo badge + name) ---- */
.ara-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}
.header-logo {
    padding: 18px 0;
}
.header-logo .ara-brand img,
#header .header-main.header-on-sticky .header-logo .ara-brand img {
    display: block !important;
    height: 52px;
    width: 52px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.ara-brand-text {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 19px;
    line-height: 1.05;
    color: #fff;
    letter-spacing: 0.2px;
}
.ara-brand-text small {
    display: block;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.85;
}
#header .header-main.header-on-sticky .header-logo {
    padding: 10px 0;
}
#header .header-main.header-on-sticky .header-logo .ara-brand img {
    height: 44px;
    width: 44px;
}
#header .header-main.header-on-sticky .ara-brand-text {
    color: var(--ara-ink);
}
.ara-brand-footer img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
}
.footer-logo .ara-brand-text {
    color: #fff;
}

/* header links: make the phone numbers look like the rest of the bar */
.header-info a {
    color: inherit;
}
.header-info a:hover {
    color: #fff;
}

/* ---- home page ---- */
.ara-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: step;
}
.ara-steps li {
    position: relative;
    padding: 0 0 22px 62px;
    counter-increment: step;
}
.ara-steps li:before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ara-green);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 42px;
    text-align: center;
}
.ara-steps li:not(:last-child):after {
    content: "";
    position: absolute;
    left: 20px;
    top: 46px;
    bottom: 4px;
    width: 2px;
    background: var(--ara-green-light);
}
.ara-steps strong {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: var(--ara-ink);
    margin-bottom: 4px;
}
.ara-steps span {
    display: block;
    color: #666;
}

.ara-sat2farm-band {
    position: relative;
    background: linear-gradient(90deg, rgba(0, 35, 0, 0.9), rgba(0, 55, 0, 0.62)), url(../img/ara/field-hero.jpg) center center / cover no-repeat;
}
.ara-sat2farm-band .container {
    position: relative;
    z-index: 2;
}
.ara-sat2farm-band h2 {
    margin-bottom: 12px;
}
.ara-sat2farm-band p {
    color: rgba(255, 255, 255, 0.85);
}
.ara-kicker {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 12px;
    font-weight: 700;
    color: #9be09b !important;
    margin-bottom: 8px;
}
.ara-more-link {
    margin-top: 16px;
}
.ara-more-link a,
.contact-info a {
    color: var(--ara-green);
    font-weight: 700;
}

/* replace template background photos with ARA photos */
.testimonial-container {
    background-image: url(../img/ara/cone-gardens-shade-house.jpg) !important;
    background-size: cover !important;
}
#page-header .page-title-container {
    background-image: url(../img/ara/moist-bed-shade-net.jpg);
    background-size: cover;
    background-position: center;
}
.cta-bottom-container {
    background: var(--ara-green-dark) !important;
}
.what-we-do-container:before,
.what-we-do-container:after {
    opacity: 0.35;
}

/* ---- forms ---- */
.ara-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.ara-form .form-group {
    margin-bottom: 14px;
}
.ara-form-status {
    margin-top: 12px;
    font-weight: 600;
}
.ara-form-status.is-ok {
    color: #9be09b;
}
.ara-form-status.is-error {
    color: #ff8a80;
}
.light-form .ara-form-status.is-ok {
    color: var(--ara-green);
}
.light-form .ara-form-status.is-error {
    color: #c62828;
}
.ara-form button[disabled] {
    opacity: 0.7;
    cursor: wait;
}

/* ---- inner pages ---- */
.ara-sidebar-cta p {
    color: #666;
}
.ara-sidebar-cta .btn {
    margin-bottom: 10px;
}
.ara-sidebar-phone {
    margin-top: 6px;
    font-weight: 700;
}
.ara-sidebar-phone a {
    color: var(--ara-green);
}
.ara-img-portrait {
    max-height: 520px;
    width: 100%;
    object-fit: cover;
}
.ara-card {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 28px 24px;
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.ara-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}
.ara-card i[class^="craftico-"],
.ara-card i[class*=" craftico-"] {
    font-size: 44px;
    color: var(--ara-green);
    display: block;
    margin-bottom: 14px;
}
.ara-card h5 {
    margin-bottom: 8px;
}
.ara-card p {
    margin-bottom: 0;
    color: #666;
}
.ara-grid > [class*="col-"] {
    margin-bottom: 30px;
}
.ara-pay-box {
    background: var(--ara-green-light);
    border-left: 4px solid var(--ara-green);
    border-radius: 6px;
    padding: 22px 24px;
}
.ara-pay-box dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 6px 18px;
    margin: 0;
}
.ara-pay-box dt {
    font-weight: 400;
    color: #555;
}
.ara-pay-box dd {
    margin: 0;
    font-weight: 700;
    font-size: 18px;
    color: var(--ara-ink);
}
.ara-play-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #111;
    color: #fff !important;
    border-radius: 8px;
    padding: 10px 18px;
    font-weight: 700;
    text-decoration: none !important;
}
.ara-play-badge i {
    font-size: 26px;
}
.ara-play-badge small {
    display: block;
    font-weight: 400;
    font-size: 11px;
    opacity: 0.8;
}
.pricing-plan .pricing-price small {
    font-size: 14px;
}
.pricing-plan .ara-plan-note {
    padding: 0 24px;
    color: #666;
    min-height: 72px;
}
.team-item img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    width: 100%;
}
.team-item .ara-team-placeholder {
    aspect-ratio: 1 / 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ara-green);
    color: #fff;
    font-family: "Montserrat", sans-serif;
    font-size: 72px;
    font-weight: 700;
}
.ara-callout {
    background: var(--ara-green-light);
    border-radius: 8px;
    padding: 30px;
}
.gallery-container figcaption {
    padding: 10px 4px 0;
    font-size: 14px;
    color: #555;
}

/* ---- floating WhatsApp button ---- */
.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease;
}
.whatsapp-float:hover {
    transform: scale(1.08);
}
.social-icon .whatsapp-color:hover {
    background: #25d366;
}
.footer-contact i {
    width: 18px;
    color: var(--ara-green);
}
.footer-contact a {
    color: inherit;
}
.footer-bottom .copyright {
    float: none;
    text-align: center;
}

/* ---- mobile ---- */
@media screen and (max-width: 768px) {
    .header-logo .ara-brand img {
        height: 42px;
        width: 42px;
    }
    .header-logo .ara-brand-text,
    #header .header-main.header-on-sticky .ara-brand-text {
        color: #fff;
        font-size: 16px;
    }
    .header-top .header-info li:nth-child(n + 3) {
        display: none;
    }
    .ara-sat2farm-band .text-lg-right {
        margin-top: 16px;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        left: 14px;
        bottom: 14px;
    }
}

/* CTA band: white button on the dark green background */
.cta-bottom-container .btn-default {
    background: #fff;
    border-color: #fff;
    color: var(--ara-green-dark);
}
.cta-bottom-container .btn-default:hover {
    background: var(--ara-green-light);
    border-color: var(--ara-green-light);
    color: var(--ara-green-dark);
}

/* pricing: KES amounts are longer than the template's $ prices */
.pricing-plan .pricing-price {
    font-size: 44px;
    font-weight: 700;
}
.pricing-plan .pricing-price .currency {
    position: static;
    margin: 0 4px 0 0;
    font-size: 18px;
    vertical-align: super;
}
.pricing-plan .ara-plan-note {
    padding: 22px 24px 0;
}

/* inline bold text inside step descriptions */
.ara-steps span strong {
    display: inline;
    font-size: inherit;
    margin: 0;
}

/* service page photo carousels: same height for portrait and landscape photos */
.service-carousel .slides > li > img {
    height: 460px;
    width: 100%;
    object-fit: cover;
}
.service-carousel .flex-control-thumbs img {
    height: 70px;
    object-fit: cover;
}
@media screen and (max-width: 768px) {
    .service-carousel .slides > li > img {
        height: 300px;
    }
}

.content-box a {
    color: var(--ara-green);
    font-weight: 700;
}

/* brighter green for the active item on the dark mobile menu */
@media screen and (max-width: 768px) {
    .me-menu > li.active > a,
    .me-menu li a:hover {
        color: #5cc85c !important;
    }
}
