/* ============================================================
   VitalKraft style.css — Modern Bold Flexbox-Only CSS
   Brand colors: primary: #154057 | secondary: #10B981 | accent: #FEE440
   Brand fonts: Montserrat (display), Source Sans Pro (body)
   ============================================================ */
/* ===========================
   CSS RESET & BASE STYLES
=========================== */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    min-height: 100%;
}
*, *:before, *:after {
    box-sizing: inherit;
}
body {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 16px;
    color: #154057;
    background: #fff;
    line-height: 1.6;
    min-height: 100vh;
}
img {
    max-width: 100%;
    display: block;
    height: auto;
}
a {
    color: #10B981;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #FEE440;
    outline: none;
}
strong {
    font-weight: 700;
}
ul,ol {
    margin-left: 20px;
    margin-bottom: 16px;
}
li {
    margin-bottom: 6px;
}

/* ===========================
   TYPOGRAPHY
=========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    color: #154057;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    line-height: 1.14;
}
h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}
@media (min-width: 768px) {
    h1 { font-size: 3rem; }
}
h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}
@media (min-width: 768px) {
    h2 { font-size: 2.5rem; }
}
h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.subtitle {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-size: 1.125rem;
    color: #10B981;
    font-weight: 700;
    margin-bottom: 24px;
}
.text-section p, .text-section ul, .text-section ol, .text-section div {
    margin-bottom: 16px;
}
.text-section ul, .text-section ol {
    margin-bottom: 24px;
}
.text-section ul > li {
    margin-bottom: 4px;
    font-weight: 500;
    color: #154057;
}

/* ===========================
   LAYOUT CONTAINERS
=========================== */
.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}
.content-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 2px 20px 0 rgba(21, 64, 87, 0.06);
}
@media (max-width: 900px) {
    .section {
        padding: 28px 8px;
        margin-bottom: 36px;
    }
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 14px 0 rgba(21, 64, 87, 0.10);
    padding: 32px 28px;
    min-width: 240px;
    flex: 1 1 280px;
    transition: box-shadow 0.18s;
}
.card:hover {
    box-shadow: 0 6px 32px 0 rgba(16, 185, 129, 0.14);
    z-index: 1;
}

.content-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}
.text-image-section {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
        gap: 18px;
    }
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 24px;
    background: #F7FBFB;
    border-radius: 20px;
    box-shadow: 0 2px 14px 0 rgba(21,64,87,0.08);
    margin-bottom: 24px;
    min-width: 240px;
    max-width: 430px;
    position: relative;
    border-left: 7px solid #10B981;
    transition: border-color 0.2s, box-shadow 0.18s;
}
.testimonial-card p {
    color: #154057;
    font-weight: 700;
    font-size: 1.09rem;
}
.testimonial-card span {
    font-size: 1rem;
    color: #154057;
    font-weight: 600;
    opacity: 0.87;
}
.testimonial-card div {
    font-size: 1.2em;
    letter-spacing: 2px;
    color: #10B981;
    font-weight: 900;
}
.testimonial-card:hover {
    border-left: 7px solid #FEE440;
    box-shadow: 0 8px 26px 0 rgba(16, 185, 129, 0.13);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 28px 18px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 12px 0 rgba(21,64,87,0.10);
}

/* Feature grid for main services */
.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
    list-style: none;
}
.feature-grid li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: #F7FBFB;
    border-radius: 18px;
    box-shadow: 0 1px 8px 0 rgba(21,64,87,0.06);
    padding: 26px 18px 19px 18px;
    min-width: 220px;
    flex: 1 1 260px;
    margin-bottom: 20px;
    transition: box-shadow 0.18s, border-left 0.18s;
    border-left: 5px solid #10B981;
}
.feature-grid li:hover {
    box-shadow: 0 5px 20px 0 rgba(254, 228, 64, 0.11);
    border-left: 5px solid #FEE440;
}
.feature-grid img {
    width: 38px;
    height: 38px;
    background: #10B98110;
    border-radius: 40%;
    padding: 8px;
    aspect-ratio: 1/1;
}
.feature-grid h3 {
    font-size: 1.15rem;
    color: #154057;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: bold;
    margin-bottom: 3px;
}
.feature-grid p {
    font-size: 1rem;
    color: #154057;
    font-family: 'Source Sans Pro', Arial, sans-serif;
}

/* ===================================
   HEADER & NAVIGATION
=================================== */
header {
    background: #fff;
    box-shadow: 0 2px 18px 0 rgba(21, 64, 87, 0.04);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 30;
}
header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 0 20px;
}
.main-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #154057;
    font-size: 1.07rem;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 10px;
    letter-spacing: 0.02em;
    transition: background 0.18s, color 0.18s;
}
.main-nav a:hover, .main-nav a:focus {
    background: #10B981;
    color: #fff;
}
.main-nav .cta-primary {
    background: #FEE440;
    color: #154057;
    border-radius: 16px;
    font-weight: 800;
    padding: 9px 21px;
    text-shadow: none;
    box-shadow: 0 2px 10px 0 rgba(254,228,64,0.12);
    margin-left: 12px;
}
.main-nav .cta-primary:hover, .main-nav .cta-primary:focus {
    color: #fff;
    background: #10B981;
}
@media (max-width: 970px) {
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}
.mobile-menu-toggle {
    display: none;
    background: #10B981;
    color: #fff;
    font-size: 2rem;
    border: none;
    border-radius: 14px;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s;
    margin-left: 10px;
    z-index: 52;
}
.mobile-menu-toggle:focus {
    outline: 2px solid #FEE440;
}

/* MOBILE NAVIGATION OVERLAY */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21,64,87,0.98);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px 0 24px;
    z-index: 5050;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(.7,.02,.26,1);
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #FEE440;
    font-size: 2.75rem;
    position: absolute;
    top: 24px;
    right: 34px;
    cursor: pointer;
    z-index: 5020;
    transition: color 0.12s;
}
.mobile-menu-close:focus {
    outline: 2px solid #10B981;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 23px;
    padding: 60px 0 0 0;
    width: 100%;
    align-items: flex-start;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.25rem;
    color: #fff;
    padding: 14px 12px 14px 0;
    text-decoration: none;
    font-weight: 800;
    border-radius: 10px;
    transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #10B981;
    color: #FEE440;
}

@media (max-width: 970px) {
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (min-width: 970px) {
    .mobile-menu {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* ============================
   BUTTONS, CTA, and INTERACTIVES
============================ */
.cta-primary, button, .button {
    display: inline-block;
    background: #10B981;
    color: #fff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.17rem;
    font-weight: 700;
    border: none;
    border-radius: 16px;
    padding: 13px 30px;
    margin-top: 10px;
    margin-bottom: 7px;
    cursor: pointer;
    box-shadow: 0 2px 14px 0 rgba(16,185,129,0.13);
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
    text-align: center;
}
.cta-primary:hover, .cta-primary:focus, button:hover, button:focus, .button:hover, .button:focus {
    background: #FEE440;
    color: #154057;
    outline: none;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 5px 21px rgba(254,228,64,0.13);
}

/* Alternative accent button (used in cookie banner/settings) */
.button-accent {
    background: #FEE440;
    color: #154057;
    font-weight: 800;
}
.button-accent:hover, .button-accent:focus {
    background: #10B981;
    color: #fff;
}
.button-outline {
    background: transparent;
    border: 2px solid #10B981;
    color: #10B981;
    font-weight: 700;
    transition: background 0.17s, color 0.17s;
}
.button-outline:hover, .button-outline:focus {
    background: #10B981;
    color: #fff;
}

/* =======================
   FOOTER STYLES
======================= */
footer {
    background: #154057;
    color: #fff;
    padding: 0 0 12px 0;
}
footer .container {
    padding: 0 20px;
}
footer .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 35px 0 0 0;
}
footer .footer-nav {
    display: flex;
    flex-direction: row;
    gap: 14px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
footer .footer-nav a {
    color: #FEE440;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 7px;
    transition: background 0.16s, color 0.16s;
}
footer .footer-nav a:hover, footer .footer-nav a:focus {
    background: #10B981;
    color: #fff;
}
footer .text-section span {
    font-size: 1rem;
    opacity: 0.87;
    display: block;
    margin-bottom: 3px;
}
footer .social-icons {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 7px;
}
footer .social-icons img {
    height: 27px;
    width: 27px;
    filter: grayscale(0) brightness(1.09);
    transition: filter 0.18s, transform 0.18s;
    border-radius: 50%;
    background: #FEE44015;
    padding: 3px;
}
footer .social-icons img:hover {
    filter: none;
    background: #10B98122;
    transform: scale(1.09);
}

@media (min-width: 800px) {
    footer .content-wrapper {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 50px;
    }
    footer .text-section {
        align-items: flex-end;
        text-align: right;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }
}

/* ====================================
   RESPONSIVE FLEX & SPACING RULES
==================================== */
@media (min-width: 900px) {
    .content-wrapper, .section .container, .feature-grid, .card-container, .content-grid  {
        gap: 32px;
    }
    .text-section {
        flex: 2 1 370px;
    }
}
@media (max-width: 900px) {
    .container, .content-wrapper, .section .container, .feature-grid, .card-container, .content-grid {
        flex-direction: column;
        gap: 18px;
    }
}
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.35rem;
    }
    .section {
        padding: 19px 4px;
        margin-bottom: 25px;
    }
    .card {
        padding: 18px 9px;
    }
    .feature-grid li {
        padding: 14px 9px 9px 9px;
    }
    .testimonial-card {
        padding: 13px 10px;
    }
}

/* ===================================
   COOKIE CONSENT BANNER & MODAL
=================================== */
#cookie-consent-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 24px 8px;
    background: #154057;
    color: #fff;
    font-size: 1.09rem;
    box-shadow: 0 -2px 12px 0 rgba(21,64,87,0.19);
    z-index: 5100;
    gap: 30px;
    min-height: 72px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(100%);
    transition: opacity 0.35s, transform 0.5s cubic-bezier(.7,.02,.26,1);
}
#cookie-consent-banner.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
#cookie-consent-banner .cookie-text {
    flex: 3 3 330px;
    max-width: 512px;
    margin-right: 22px;
    font-size: 1rem;
    color: #fff;
}
#cookie-consent-banner .cookie-actions {
    flex: 2 2 200px;
    display: flex;
    flex-direction: row;
    gap: 12px;
}
#cookie-consent-banner .button, #cookie-consent-banner .button-accent, #cookie-consent-banner .button-outline {
    margin-top: 0;
    margin-bottom: 0;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 20px;
}

@media (max-width: 700px) {
    #cookie-consent-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
        padding: 18px 4px;
    }
    #cookie-consent-banner .cookie-actions {
        flex-direction: row;
        gap: 7px;
    }
}

/* Cookie settings modal */
#cookie-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(21, 64, 87, 0.85);
    z-index: 5120;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
    display: flex;
    align-items: center;
    justify-content: center;
}
#cookie-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}
#cookie-modal {
    background: #fff;
    color: #154057;
    border-radius: 22px;
    box-shadow: 0 2px 36px 0 rgba(21,64,87,0.23);
    padding: 38px 30px 24px 30px;
    min-width: 320px;
    max-width: 456px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative;
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.32s, opacity 0.35s;
}
#cookie-modal.show {
    transform: translateY(0);
    opacity: 1;
}
#cookie-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #10B981;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.17s;
    z-index: 15;
}
#cookie-modal-close:hover {
    color: #FEE440;
}
.cookie-category {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.cookie-category label{
    font-size: 1rem;
    font-weight: 700;
    color: #154057;
    cursor: pointer;
}
.cookie-category input[type=checkbox] {
    accent-color: #10B981;
    width: 19px;
    height: 19px;
    margin-right: 6px;
}
/* Essential always enabled */
.cookie-category .cookie-essential {
    color: #10B981;
    font-weight: 800;
}

/* =======================
   ANIMATIONS & MICRO-INTERACTIONS
======================= */
.cta-primary, button, .button {
    transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.12s;
}
.card, .testimonial-card, .feature-grid li {
    transition: box-shadow 0.16s, border-left 0.16s, border-radius 0.16s, transform 0.11s;
}
.card:hover, .testimonial-card:hover, .feature-grid li:hover {
    transform: translateY(-3px) scale(1.03);
}

/* =======================
   FORM ELEMENTS GENERIC
======================= */
input, textarea, select {
    font-family: inherit;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid #10B98133;
    background: #fafbfb;
    padding: 10px 13px;
    color: #154057;
    transition: border 0.14s, box-shadow 0.14s;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px 0 rgba(21,64,87,0.05);
}
input:focus, textarea:focus, select:focus {
    border: 2px solid #10B981;
    outline: none;
}
label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    color: #154057;
    margin-bottom: 6px;
    display: inline-block;
}

/* =======================
   UTILITY CLASSES
======================= */
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.gap-16 { gap: 16px !important; }
.text-center { text-align: center !important; }
.align-center { align-items: center !important; }

/* ======================
   SPECIAL
====================== */
::-webkit-input-placeholder { color: #B9C8D9; }
:-moz-placeholder { color: #B9C8D9; }
::-moz-placeholder { color: #B9C8D9; }
:-ms-input-placeholder { color: #B9C8D9; }
::placeholder { color: #B9C8D9; }

/* =======================
   PRINT
======================= */
@media print {
    header, footer, #cookie-consent-banner, #cookie-modal-overlay { display: none !important; }
}

/* ==============================
   ENSURE NO OVERLAP, PROPER GAP
============================== */
.section, .card, .testimonial-card, .feature-grid li {
    margin-bottom: 20px;
}
.section + .section {
    margin-top: 24px;
}

/* ==============================
   GEOMETRIC SHAPE MOTIFS (STYLE)
============================== */
.section::before, .section::after {
    content: '';
    display: none;
}

/* ==========
   FONTS
========== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800,900&display=swap');
@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700,800&display=swap');

/* ============
   END
============ */
