/* AMK Brand Color Overrides
   Logo green: ~#1d3c1f (dark forest green)
   Matching the AMK logo color across the site */

:root {
    --color-primary: #1d3c1f;
}

/* Buttons */
.rts-btn.btn-primary {
    background: #1d3c1f;
}
.rts-btn.btn-primary:hover {
    color: #1d3c1f;
}
.rts-btn.btn-primary.btn-white {
    color: #1d3c1f;
}
.rts-btn.btn-primary.btn-white::before {
    background: #1d3c1f;
}
.rts-btn.btn-primary.btn-white:hover {
    background: #1d3c1f;
    color: #F2F2F2;
}

/* Header top bar */
.header-top-area-wrapper {
    background: #1d3c1f;
}

/* Sticky header accent */
.header-one.header--sticky.sticky .header-main {
    border-bottom-color: #1d3c1f;
}

/* Footer background */
.footer-8-area-bg {
    background-color: #152c17;
    background-image: none;
    padding-top: 25px !important;
}
.footer-8-area-bg .container.pb--65 {
    padding-bottom: 15px !important;
}
.footer-logo-area-left-8 .logo img {
    max-height: 60px;
}
.footer-logo-area-left-8 .disc {
    margin: 8px 0 !important;
}
.footer-one-single-wized .wized-title {
    margin-bottom: 10px !important;
}
.footer-one-single-wized .quick-link-inner .links li {
    margin-bottom: 2px !important;
}
.signle-footer-contact-8 {
    margin-bottom: 8px !important;
}
.copyright-area-main-wrapper {
    margin-top: 10px !important;
}
.copyright-8-wrapper p {
    padding: 10px 0 !important;
}
.copyright-area-main-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo-area-left-8 ul li a {
    background: rgba(255, 255, 255, 0.1);
}
.footer-logo-area-left-8 ul li a:hover {
    background: #1d3c1f;
}
.signle-footer-contact-8 .icon {
    background: rgba(29, 60, 31, 0.3);
}
.signle-footer-contact-8 .icon i {
    color: #fff;
}

/* Counter section - keep template background image, add green overlay via gradient */
.counter-bg {
    background-image: linear-gradient(rgba(29, 60, 31, 0.85), rgba(29, 60, 31, 0.85)), url(../images/counterup/01.webp);
    height: auto;
}
.rts-counter-up-area.counter-bg {
    padding: 50px 0;
}
.counter-bg .single-counter .counter-details .title {
    white-space: nowrap;
}

/* CTA section */
.rts-call-to-action-area-two {
    background-color: #1a3a1c;
}

/* About counter badge */
.left-thumbnail-about-area-two .counter-about-area {
    background: #1d3c1f;
}

/* Service cards (style-five) */
.service-single-main-wrapper-five {
    transition: 0.3s;
}
.service-single-main-wrapper-five:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(29, 60, 31, 0.15);
}
.service-single-main-wrapper-five.h-100 {
    height: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service-single-main-wrapper-five .icon {
    background: #1d3c1f;
    width: 60px;
    height: 60px;
    padding: 12px;
}
.service-single-main-wrapper-five .icon img {
    filter: brightness(0) invert(1);
    max-width: 100%;
    max-height: 100%;
}
.service-single-main-wrapper-five .inner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service-single-main-wrapper-five .inner-content .rts-btn {
    margin-top: auto;
}
.service-single-main-wrapper-five .inner-content .rts-btn.btn-primary.btn-white {
    border: 1px solid #1d3c1f;
    background: transparent;
    color: #1d3c1f;
}
.service-single-main-wrapper-five .inner-content .rts-btn.btn-primary.btn-white:hover {
    background: #1d3c1f;
    border-color: #1d3c1f;
    color: #fff;
}
.service-single-main-wrapper-five .inner-content .rts-btn.btn-primary.btn-white::before {
    background: #1d3c1f;
}

/* Section pre-title accent */
.title-style-two .pre {
    color: #1d3c1f;
    font-size: 18px;
}

/* Check icons */
.single-check i.fa-circle-check {
    color: #1d3c1f;
}

/* Links and accents */
a:hover {
    color: #1d3c1f;
}

/* Progress wrap (scroll to top) */
.progress-wrap::after {
    color: #1d3c1f;
}
.progress-wrap svg.progress-circle path {
    stroke: #1d3c1f;
}

/* Header nav alignment — no buttons, nav pushed to the right */
.header-one .nav-area {
    margin-right: 0;
}
.header-main-one-wrapper .main-header {
    flex: 1;
    justify-content: flex-end;
}

/* Sidebar menu social */
.social-wrapper-two.menu a:hover {
    background: #1d3c1f;
    border-color: #1d3c1f;
}

/* Blog card hover */
.single-blog-area-one:hover {
    border-color: #1d3c1f;
}

/* Footer quick links hover */
.quick-link-inner .links li a:hover {
    color: #1d3c1f;
}

/* Swiper pagination active */
.swiper-pagination-bullet-active {
    background: #1d3c1f !important;
}

/* Banner slider height */
.rts-banner-area-two {
    min-height: auto !important;
    height: 600px !important;
}

/* Banner navigation buttons - bottom center */
.banner-swiper-two .mySwiper-banner-two {
    position: relative;
}
.banner-nav-buttons {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.banner-nav-buttons .swiper-button-prev,
.banner-nav-buttons .swiper-button-next {
    position: static;
    width: 18px;
    height: 18px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    margin: 0;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
}
.banner-nav-buttons .swiper-button-prev::after,
.banner-nav-buttons .swiper-button-next::after {
    font-size: 7px;
    color: #fff;
    font-weight: 700;
}
.banner-nav-buttons .swiper-button-prev:hover,
.banner-nav-buttons .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
}
.banner-nav-buttons .swiper-button-prev:hover::after,
.banner-nav-buttons .swiper-button-next:hover::after {
    color: #1d3c1f;
}

/* Banner slide one custom text */
.banner-slide-one-text h1 {
    text-align: left !important;
    max-width: 100% !important;
}

/* Consultancy icon */
.signle-consultancy .icon {
    background: rgba(29, 60, 31, 0.1);
}
.signle-consultancy .icon img {
    filter: hue-rotate(90deg) saturate(1.5);
}

/* Blog card image */
.single-blog-card-6 .thumbnail {
    display: block;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
}
.single-blog-card-6 .thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.3s;
}
.single-blog-card-6:hover .thumbnail img {
    transform: scale(1.05);
}
.single-blog-card-6 .inner-content .title {
    font-size: 20px;
}
.single-blog-card-6 .inner-content p.top {
    color: #1d3c1f;
    background: rgba(29, 60, 31, 0.1);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Brand carousel logos */
.brand-style-two-wrapper .single-brand {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 20px 20px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-style-two-wrapper .single-brand img {
    max-width: 120px;
    margin: 0 auto;
}

/* Page builder: allow image overflow for positioned elements */
.row-grid,
.row-grid > div,
.row-grid .business-goal-area-2,
.row-grid .business-goal-area-2 .row,
.row-grid .business-goal-area-2 .col-lg-6,
.row-grid .rts-about-area-two,
.row-grid .rts-about-area-two .row,
.row-grid .rts-about-area-two .col-lg-6 {
    overflow: visible;
}
/* Ensure image container fills column width in page builder */
.row-grid .thumbnail-business-area-right-two {
    width: 100%;
}
.row-grid .thumbnail-business-area-right-two .small-thumbnail {
    left: -80px;
}

/* Map + Appointment form section */
.appoinment-area-four-wrapper {
    background-image: linear-gradient(rgba(21, 44, 23, 0.92), rgba(21, 44, 23, 0.92)), url(../images/appoinment/02.webp);
}
.appoinment-area-four-wrapper .rts-btn.btn-primary.btn-white {
    border-color: #fff;
}
.appoinment-area-four-wrapper .rts-btn.btn-primary.btn-white::before {
    background: #fff;
}
.appoinment-area-four-wrapper .rts-btn.btn-primary.btn-white:hover {
    background: #fff;
    color: #1d3c1f;
}

/* ===== Page Builder: consistent section spacing ===== */

/* Every page-builder row gets an 80px top margin (consistent, applies to ALL
   sections — adjacency-independent so the injected @once <style> can't skip a
   row). amk-block bands are reset to 0 by the :has(.amk-block) rule so coloured
   bands still butt together; a per-row margin set in Row Settings overrides this
   (inline style, and this rule is not !important). */
.pb-content > section {
    padding: 0;
    margin-top: 80px;
}

/* Strip ALL baked-in element spacing */
.pb-content .rts-section-gap {
    padding: 0 !important;
}
.pb-content .rts-service-area.pt--40 {
    padding-top: 0 !important;
}
.pb-content .rts-service-area.pb--60 {
    padding-bottom: 0 !important;
}
.pb-content .rts-service-area .mt--10 {
    margin-top: 0 !important;
}
.pb-content .business-goal-area-2 .container.pt--30 {
    padding-top: 0 !important;
}
.pb-content .rts-blog-area .mt--30 {
    margin-top: 0 !important;
}
.pb-content .rts-brand-area {
    padding: 30px 0;
}
/* Map + Contact form row: seamless edge, natural heights */
.pb-content .row-grid:has(.rts-appoinment-area) {
    gap: 0;
}
.pb-content .row-grid:has(.rts-appoinment-area) > div > div {
    border-radius: 0;
}
.pb-content .row-grid:has(.rts-appoinment-area) > div iframe {
    border-radius: 0 !important;
}

/* Full-background elements need internal padding for content breathing room */
.pb-content .rts-call-to-action-area-two {
    height: auto;
    padding: 60px 0;
}
.pb-content .rts-counter-up-area.counter-bg {
    padding: 60px 0 !important;
}

/* Tablet */
@media only screen and (min-width: 768px) and (max-width: 991px) {
    .pb-content > section {
        margin-top: 60px;
    }
    .pb-content .rts-call-to-action-area-two {
        padding: 50px 0;
    }
    .pb-content .rts-counter-up-area.counter-bg {
        padding: 50px 0 !important;
    }
}
/* Mobile */
@media only screen and (max-width: 767px) {
    .pb-content > section {
        margin-top: 40px;
    }
    .pb-content .rts-call-to-action-area-two {
        padding: 40px 0;
    }
    .pb-content .rts-counter-up-area.counter-bg {
        padding: 40px 0 !important;
    }
}

/* ===== Breadcrumb Banner Image ===== */
/* Override .bg_primary shorthand 'background' so inline background-image works */
.rts-breadcrumb-area.bg_primary {
    background: none;
    background-color: #1d3c1f;
}

/* ===== Contact Page ===== */

/* Form input focus states */
.contact-form-area input:focus,
.contact-form-area textarea:focus {
    border-color: #1d3c1f !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(29, 60, 31, 0.08);
}
.contact-form-area input::placeholder,
.contact-form-area textarea::placeholder {
    color: #999;
}

/* Contact info green sidebar */
.contact-info-sidebar a:hover {
    opacity: 0.85;
}
.contact-info-sidebar .social-link:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

/* Contact page map */
.contact-map-section iframe {
    display: block;
}

/* Contact info cards icon with font-awesome */
.service-single-main-wrapper-five .icon i {
    filter: none !important;
}
