/* My Green Business – theme-green.css (cookie-free, Bootstrap-compatible) */
:root {
    --brand-green: #198D08;
    --brand-green-deep: #198D08;
    --brand-green-mid: #ADD9B8;
    --brand-green-light: #ADD9B8;
    --brand-beige: #ECE5DD;
    --brand-gold: #D4AF37;
    --ink: #1B1B1B;
    --muted: #6B746E;
    --white: #FFFFFF;
    --nav-h: 64px;

    /* Bootstrap alias bridges if needed */
    --bs-primary: var(--brand-green);
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--white);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-h);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    padding-top: 80px !important;
}

h1,
h2,
h3 {
    font-family: 'League Spartan Variable', 'League Spartan', sans-serif;
    font-weight: 900;
    /* or 400–900 with Variable */
}

h3.cardhead {
    font-weight: 600;
    font-size: 1.4rem;
}

h3.processhead {
    font-weight: 400;
    font-size: 1.4rem;
}

h3.foothead {
    color: #ADD9B8;
    font-weight: 600;
}

/* Change text highlight color */
::selection {
    background-color: var(--brand-gold);
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/InterVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'League Spartan Variable';
    src: url('../fonts/LeagueSpartanVariable.woff2') format('woff2'),
        url('../fonts/LeagueSpartanVariable.woff2') format('woff');
    font-weight: 200 900;
    font-style: normal;
    font-display: swap;
}

a {
    color: #000000;
    text-decoration: underline;
}

a:hover {
    color: #178507;
}

.navbar {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.navbar-brand img {
    height: 80px;
}

.navbar-nav .nav-link {
    color: #1B1B1B !important;
    font-weight: 600;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--brand-gold) !important;
}

.navbar-nav .nav-link.current {
    color: #178507 !important;
}

.btn-primary {
    background: #198D08;
    border: none;
    border-radius: 999px;
    padding: .5rem .85rem;
    font-weight: 600;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d4af37, #f5d76e);
    border-color: #f5d76e;
    color: #fff;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
    transition: all 0.25s ease;
}

.btn-primary-hero {
    font-size: 1.2rem;
    background: #D4AF37;
    color: #2B2410;
    border: 2px solid #D4AF37;
    border-radius: 999px;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.btn-outline-primary {
    font-size: 1.2rem;
    color: #fff;
    border: 2px solid #D4AF37;
    border-radius: 999px;
    padding: 1rem 1.25rem;
    font-weight: 600;
}

.btn-outline-secondary {
    border-radius: 999px;
}

.btn-primary-hero:hover {
    background: linear-gradient(135deg, #d4af37, #f5d76e);
    border-color: #f5d76e;
    color: #fff;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
    transition: all 0.25s ease;
}

.btn-outline-primary:hover {
    background: linear-gradient(135deg, #d4af37, #f5d76e);
    border-color: #f5d76e;
    color: #fff;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.35);
    transition: all 0.25s ease;
}

.section-beige {
    background-color: #F6F2EC;
    /* pale beige/green */
    background-image:
        linear-gradient(to right, rgba(163, 198, 163, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(163, 198, 163, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    /* grid cell size */
    color: #1F2A24;
}

i.greenicon {
    color: #198D08;
}

/* Inputs focus border and shadow */
.form-control:focus {
    border-color: #198D08;
    box-shadow: 0 0 0 0.2rem rgba(25, 141, 8, 0.25);
}

/* Checkboxes and radios */
.form-check-input:checked {
    background-color: #198D08;
    border-color: #198D08;
}

.form-check-input:focus {
    border-color: #198D08;
    box-shadow: 0 0 0 0.2rem rgba(25, 141, 8, 0.25);
}

/* Switch toggles */
.form-switch .form-check-input:checked {
    background-color: #198D08;
    border-color: #198D08;
}


.section-light {
    background: var(--brand-green-light);
}

.hero {
    background:
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            /* very light top-left */
            rgba(255, 255, 255, 0.2) 50%,
            /* faint centre highlight */
            rgba(0, 0, 0, 0.2) 100%
            /* subtle dark bottom-right */
        ), #198D08;
    color: #fff;
    padding: 5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-weight: 800;
    letter-spacing: -.02em;
}

.whatwedo {
    font-weight: 800;
    letter-spacing: -.02em;
}

.hero .lead {
    opacity: .95;
    font-size: 1.2rem;
}

.hero .stat-chip {
    background: rgba(255, 255, 255, .2);
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 999px;
    padding: .5rem .85rem;
    font-weight: 600;
}

.mees-highlight {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.card.service {
    border: 1px solid rgba(15, 122, 56, .12);
    border-radius: 1rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.card.service:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, .08);
}

.card.service .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #198D08;
    background-image: url('../assets/mees-service-bg.webp');
    background-size: 80px 80px;
    background-repeat: repeat;
    color: #fff;
    font-size: 2rem;
}

.process .icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #198D08;
    background-image: url('../assets/mees-service-bg.webp');
    background-size: 80px 80px;
    background-repeat: repeat;
    color: #fff;
    font-size: 2rem;
    margin: 0 auto;
    /* centers horizontally */
}


.process {
    text-align: center;
}

.process .num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #C7EBD4 0%, #AEE6C2 100%);
    color: #0F7A38;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

/*.footer{
  background: #0F1F15; color:#E6F2EA;
}
.footer a{color:#AEE6C2; text-decoration:none;}
.footer a:hover{text-decoration:underline;}*/

.badge-soft {
    background: rgba(31, 166, 77, .12);
    color: #0F7A38;
    border: 1px solid rgba(15, 122, 56, .2);
    border-radius: 999px;
    padding: .35rem .75rem;
    font-weight: 600;
}

.yt-placeholder {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: #000;
}

.yt-placeholder button {
    position: absolute;
    inset: auto auto 1rem 1rem;
}

.yt-placeholder img {
    display: block;
    width: 100%;
    height: auto;
}

/* Footer */
.footer {
    background: var(--ink);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer h5 {
    color: var(--brand-green-light);
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--brand-beige);
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #198D08;
    transform: translateY(-2px);
}

/* Stats */
.stats {
    background: #198D08;
    color: var(--white);
    padding: 4rem 0;
}

.stat-item {
    text-align: center;
    margin-bottom: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #178507;
    display: block;
}

.dark-button {
    background-color: #178507;
}

.darker-button {
    background-color: #197008 !important;
    /* darker green for beige backgrounds */
    color: #fff;
    /* ensure readable text */
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 700;
}

.section-shape-divider {
    display: block;
    position: relative;
    height: 80px;
    overflow: hidden;
    line-height: 0;
}

.section-shape-divider svg {
    display: block;
    width: 100%;
    height: 100%;
}

.my-section {
    position: relative;
    z-index: 1;
}

.contact-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.slidercontainer {
    overflow: hidden;
    position: relative;
}

.slider {
    display: flex;
    /* two .logos tracks side-by-side */
    width: max-content;
    /* track grows to fit content */
    animation: slidein 18s linear infinite;
    /* faster than 25s, adjust to taste */
    will-change: transform;
}

.logos {
    display: flex;
    align-items: center;
    gap: 50px;
    /* spacing between logos */
    padding: 10px 0;
    flex: 0 0 auto;
    /* don’t shrink */
}

.logos i {
    display: flex;
    align-items: center;
}

.logos img {
    height: 150px;
    /* adjust for your layout */
    width: auto;
    opacity: .95;
    transition: transform .3s ease, opacity .3s ease;
}

.logos img:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* Pause on hover only for devices that actually hover */
@media (hover: hover) and (pointer: fine) {
    .slidercontainer:hover .slider {
        animation-play-state: paused;
    }
}

/* Seamless loop: exactly half the total width per .logos track */
@keyframes slidein {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Responsive trims */
@media (max-width: 992px) {
    .logos img {
        height: 60px;
    }

    .logos {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .logos img {
        height: 48px;
    }

    .logos {
        gap: 22px;
    }
}

@media (max-width: 576px) {
    .logos img {
        height: 40px;
    }

    .logos {
        gap: 16px;
    }
}

footer {
    position: relative;
    /* Ensure the image is relative to the footer */
    height: auto;
    /* Dynamically adjust the height based on content */
    z-index: 0;
    /* Establish stacking context */
}

.footerimage {
    position: absolute;
    bottom: 0 !important;
    right: 0 !important;
    margin-left: -6rem;
    margin-bottom: 4rem;
    height: auto;
    /* Maintain aspect ratio */
    opacity: 0.4;
    /* Optional transparency */
    pointer-events: none;
    /* Prevent interference with clicks */
    z-index: -1 !important;
}

.accordion-button {
    font-size: 1.2rem;
    /* adjust size */
    font-weight: 600;
    /* semi-bold */
    padding-top: 1rem;
    /* optional: add breathing space */
    padding-bottom: 1rem;
}

/* Contact Dock */
.contact-dock {
    position: fixed;
    right: calc(16px + env(safe-area-inset-right));
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 1060;
    /* above navbar & sliders */
    display: grid;
    gap: .5rem;
}

.dock-toggle {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    border: 0;
    /*background: #25D366;*/
    background: #198D08;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.dock-toggle i {
    font-size: 2.1rem;
}

.dock-toggle:hover {
    background: var(--brand-gold);
}

.dock-panel {
    width: min(92vw, 360px);
    background: var(--brand-beige);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, .16);
    overflow: hidden;
    transform-origin: bottom right;
    animation: dock-in .18s ease-out;
}

@keyframes dock-in {
    from {
        transform: scale(.98);
        opacity: 0
    }

    to {
        transform: scale(1);
        opacity: 1
    }
}

.dock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    padding: .75rem 1rem;
    background: linear-gradient(180deg, #f9fafb, #ADD9B8);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.dock-close {
    border: 0;
    background: transparent;
    padding: .25rem;
    line-height: 1;
    color: #4b5563;
    border-radius: 8px;
    cursor: pointer;
}

.dock-close:hover {
    background: rgba(0, 0, 0, .06);
}

.dock-actions {
    display: grid;
    gap: .5rem;
    padding: .75rem;
}

.dock-action {
    display: flex;
    align-items: left;
    grid-template-columns: 40px 1fr;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    border: 1px solid var(--muted);
    background: #fff;
    border-radius: 12px;
    padding: .6rem .75rem;
    color: inherit;
    transition: transform .08s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex;
    justify-content: left;
    /* centers the text block */
    text-align: left;
    /* centers the text inside <span> */
}

.dock-action:hover {
    border-color: var(--muted) !important;
    box-shadow:
        0 4px 10px rgba(236, 229, 221, 0.4),
        0 8px 20px rgba(212, 175, 55, 0.25);
}

/*
    --brand-beige: #ECE5DD;
    --brand-gold: #D4AF37;
*/

.dock-action i {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 102, 255, .08);
    color: #0a49cc;
    font-size: 1.1rem;
}

.dock-action#open-whatsapp i {
    background: rgba(0, 200, 0, .08);
    color: #079807;
}

.dock-action strong {
    display: block;
    font-weight: 700;
}

.dock-action small {
    display: block;
    color: var(--muted);
    margin-top: -2px;
}

.teams-frame-wrap {
    display: grid;
    gap: .5rem;
    padding: 0 .75rem .75rem;
}

.teams-frame-wrap iframe {
    width: 100%;
    height: 420px;
    /* adjust as needed */
    border: 1px solid var(--ink);
    border-radius: 12px;
    background: #fff;
}

.teams-note {
    font-size: .85rem;
    color: var(--muted);

}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .dock-panel {
        animation: none;
    }

    .dock-action {
        transition: none;
    }
}

.whatsapp-button {
    background: var(--brand-green-light);
    /* pale blue fill */
    border: 1px solid rgba(15, 122, 56, .15);
    border-radius: 1rem;
    /* matches rounded-4 aesthetic */
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* soft depth */
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.teams-button {
    background: var(--brand-green-light);
    /* pale blue fill */
    border: 1px solid rgba(15, 122, 56, .15);
    border-radius: 1rem;
    /* matches rounded-4 aesthetic */
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* soft depth */
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* Newsletter card section */
.newsletter-section {
    padding: 2rem 0;
}

.newsletter-card {
    background: var(--brand-green-light);
    border: 1px solid rgba(15, 122, 56, .12);
    border-radius: 1rem;
    padding: 1.5rem 1.75rem;
}

.newsletter-heading {
    color: var(--ink);
}

.newsletter-form input.form-control {
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .15);
    font-size: 1rem;
}

.newsletter-form button {
    border-radius: 999px;
    font-weight: 600;
    background: var(--ink);
    color: #fff;
    border: none;
}

.newsletter-form button:hover {
    background: var(--brand-gold);
}

/* Reinforcement section */
.newsletter-reinforcement {
    background: #fff;
    border: 1px solid var(--muted);
    border-radius: .75rem;
    padding: 1.5rem 1.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .03);
}

.newsletter-reinforcement h3 {
    color: #198D08;
}
