/* ===================== CSS RESET & NORMALIZE ===================== */
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;
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}
html {
    line-height: 1.6;
    background: #fff;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #1c1c1c;
    background: #fff;
    min-height: 100vh;
}
img {
    max-width: 100%;   height: auto;
    display: block;
}
a {
    text-decoration: none;
    color: #204080;
    transition: color 0.2s;
}
a:hover, a:focus {
    color: #11a36a;
    outline: none;
}
ul, ol {
    list-style: none;
}
button {
    font-family: inherit;
    font-size: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: inherit;
}
strong { font-weight: bold; color: #204080; }
::selection { background-color: #204080; color: #fff; }

/* Typography hierarchy (Montserrat for display, Roboto for text) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Arial Black', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -.5px;
    color: #204080;
    margin-bottom: 16px;
    text-transform: uppercase;
}
h1 { font-size: 2.4rem; line-height: 1.13;  }
h2 { font-size: 1.8rem; line-height: 1.2;  }
h3 { font-size: 1.3rem; }
.section h2, .section h3 { margin-top: 0; }
p, li, span {
    font-family: 'Roboto', Arial, sans-serif;
    color: #222;
    font-size: 1rem; line-height: 1.7;
}

@media (min-width: 900px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
  h3 { font-size: 1.6rem; }
  p, li, span { font-size: 1.1rem; }
}

/* ===================== LAYOUT & STRUCTURE ===================== */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 16px;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.content-wrapper {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 16px 0 rgba(32,64,128,0.04), 0 1.5px 6px 0 rgba(0,0,0,0.06);
    padding: 32px 20px;
    margin-bottom: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.section {
    margin-bottom: 60px;
    padding: 40px 20px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: #f6f6f6;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(32,64,128,0.07);
    padding: 24px 20px;
    transition: box-shadow 0.2s, transform 0.16s;
}
.card:hover, .card:focus-within {
    box-shadow: 0 8px 38px rgba(32,64,128,0.13);
    transform: translateY(-4px) scale(1.025);
}
.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;
}
.testimonial-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f6f6f6;
    border-left: 8px solid #11a36a;
    border-radius: 16px;
    box-shadow: 0 2px 11px rgba(32,64,128,0.07);
    margin-bottom: 20px;
    font-size: 1.05rem;
    color: #222;
}
.testimonial-card strong { color: #204080; font-size: 1.09rem; }
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 18px;
    font-size: 0.97rem;
    color: #204080;
}
.footer-contact img {
    height: 22px;
    width: 22px;
    margin-right: 8px;
    vertical-align: middle;
}

footer section {
    border-top: 2.5px solid #204080;
    margin-top: 40px;
    background: #f6f6f6;
    padding: 28px 0 12px 0;
}
.footer-nav {
    display: flex;    flex-wrap: wrap;    gap: 30px;
    margin-bottom: 20px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.06rem;
    text-transform: uppercase;
    letter-spacing: 0.033em;
}
.footer-nav a {
    color: #204080;
    font-weight: bold;
    opacity: 0.95;
    transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
    color: #11a36a;
}

.cta-btn {
    font-family: 'Montserrat', Arial Black, Arial, sans-serif;
    background: #11a36a;
    color: #fff;
    border-radius: 100px;
    padding: 13px 34px;
    font-size: 1.10rem;
    letter-spacing: .06em;
    font-weight: 700;
    border: none;
    transition: background 0.18s, box-shadow 0.20s, color 0.20s, transform 0.14s;
    box-shadow: 0 2px 7px rgba(32,64,128,0.13);
    margin-top: 18px;
    display: inline-block;
    outline: none;
}
.cta-btn:hover, .cta-btn:focus {
    background: #204080;
    color: #fff;
    transform: scale(1.045);
    box-shadow: 0 6px 32px rgba(32,64,128,0.17);
}

/* ===================== NAVIGATION ===================== */
header {
    background: #fff;
    box-shadow: 0 3px 11px 0 rgba(32, 64, 128, 0.07);
    position: sticky;
    top: 0;
    z-index: 30;
}
header .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
}
.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
}
.main-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 1.01rem;
    color: #204080;
    text-transform: uppercase;
    letter-spacing: .03em;
    opacity: .89;
    padding: 6px 0;
    transition: color 0.15s, opacity 0.13s;
    border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
    color: #11a36a;
    opacity: 1;
    border-bottom: 2px solid #11a36a;
}
header .cta-btn {
    margin: 0 0 0 24px;
}
header img {
    height: 48px;
    width: auto;
    margin-right: 28px;
}

/* ===================== MOBILE NAVIGATION ===================== */
.mobile-menu-toggle {
    position: fixed;
    top: 22px;
    right: 22px;
    z-index: 102;
    background: #204080;
    color: #fff;
    font-size: 2rem;
    border-radius: 10px;
    padding: 9px 17px;
    box-shadow: 0 3px 15px rgba(32,64,128,0.11);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #11a36a;
    transition: background 0.16s, color 0.16s, box-shadow 0.13s;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
    background: #11a36a;
    color: #fff;
    outline: none;
}
.mobile-menu {
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: #204080cc;
    z-index: 101;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    transform: translateX(-100vw);
    transition: transform 0.35s cubic-bezier(.7,.17,.22,.99);
    visibility: hidden;
    opacity: 0;
}
.mobile-menu.open {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
}
.mobile-menu-close {
    align-self: flex-end;
    margin: 16px 24px 0 0;
    font-size: 2.2rem;
    background: none;
    color: #fff;
    border: none;
    opacity: 0.83;
    cursor: pointer;
    transition: color 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    color: #11a36a;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 34px 23px 34px;
    margin-top: 32px;
    width: 100vw;
}
.mobile-nav a {
    font-family: 'Montserrat', Arial, sans-serif;
    color: #fff;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 1.25rem;
    padding: 12px 0;
    border-bottom: 2.5px solid transparent;
    transition: color 0.19s, border-bottom 0.17s;
    background: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    color: #11a36a;
    border-bottom: 2.5px solid #11a36a;
}

/* Hide mobile menu toggle by default, show only on mobile */
.mobile-menu-toggle {
    display: none;
}

@media (max-width: 980px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .main-nav {
    gap: 12px;
    font-size: 0.92rem;
  }
  header img { height: 38px; }
}

@media (max-width: 768px) {
  .main-nav, header .cta-btn {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .container {
    padding: 0 8px;
  }
  .content-wrapper {
    padding: 22px 7px;
  }
  .section {
    padding: 30px 7px;
  }
}
@media (max-width: 540px) {
  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.21rem; }
  .footer-nav { gap: 14px; font-size: 0.97rem; }
  .mobile-nav {font-size: 1.11rem;}
}
/* Ensure mobile menu always covers viewport */
@media (max-width: 768px) {
  .mobile-menu {
    width: 100vw; height: 100vh;
    min-height: 100vh;
    min-width: 100vw;
  }
}

/* ===================== FLEXBOX LAYOUT ADJUSTMENTS ===================== */
@media (max-width: 900px) {
  .content-grid {
    flex-direction: column;
    gap: 22px;
  }
}
@media (max-width: 768px) {
  .card-container,
  .content-grid,
  .footer-contact {
    flex-direction: column;
    gap: 16px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

/* ===================== GEOMETRIC/STRUCTURED VISUALS ===================== */
.section, .content-wrapper {
    /* Add subtle geometric backgrounds with svg-to-gradient solids or simple shapes */
    position: relative;
    overflow: visible;
}
.section::before {
    content: "";
    display: block;
    position: absolute;
    left: -32px; top: -32px;
    width: 120px; height: 120px;
    background: #11a36a11;
    border-radius: 39% 61% 59% 41%/49% 61% 39% 51%;
    z-index: 0;
}
.section:nth-child(even)::before {
    left: auto; right: -32px;
    background: #20408013;
}
.content-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    right: -19px; bottom: -13px;
    width: 50px; height: 50px;
    background: #2040800a;
    clip-path: polygon(0 0, 100% 20%, 80% 100%, 0 80%);
    z-index: 0;
}

@media (max-width: 768px) {
  .section::before,
  .content-wrapper::after {
    display: none;
  }
}

/* ===================== BUTTONS & INTERACTIVE ===================== */
button,
.cta-btn {
    cursor: pointer;
    outline: none;
    border: none;
}

a.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 200px;
}

/* ===================== COOKIE CONSENT BANNER & MODAL ===================== */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: #204080;
    color: #fff;
    z-index: 10003;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 17px 0 13px 0;
    box-shadow: 0 -1.2px 12px rgba(32,64,128,0.14);
    animation: cookie-slidein 0.4s cubic-bezier(.59,.01,.37,1.18);
}
@keyframes cookie-slidein {
    from { transform: translateY(140%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-banner__inner {
    max-width: 900px;
    width: 94vw;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
}
@media(min-width: 560px){
  .cookie-banner__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.cookie-banner__text {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 7px;
    line-height: 1.57;
    flex: 1 1 auto;
}
.cookie-banner__actions {
    display: flex;
    gap: 10px;
}
.cookie-btn {
    border-radius: 6px;
    background: #11a36a;
    color: #fff;
    border: none;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    padding: 9px 20px;
    font-size: 1rem;
    transition: background 0.16s, color 0.11s, box-shadow 0.14s;
    box-shadow: 0 1px 6px rgba(32,64,128,0.16);
}
.cookie-btn--secondary {
    background: #204080;
    color: #fff;
    border: 2px solid #11a36a;
}
.cookie-btn:hover, .cookie-btn:focus {
    background: #204080;
    color: #fff;
    outline: none;
}
.cookie-btn--secondary:hover, .cookie-btn--secondary:focus {
    background: #11a36a;
    color: #fff;
}

/* --- Cookie Settings Modal --- */
.cookie-modal-overlay {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    left: 0; top: 0; width: 100vw; height: 100vh;
    display: flex;
    align-items: center;  justify-content: center;
    z-index: 10010;
    background: rgba(32,64,128,0.42);
    transition: opacity 0.22s cubic-bezier(.36,.05,.58,1.03), visibility 0.22s;
}
.cookie-modal-overlay.open {
    visibility: visible;
    opacity: 1;
}
.cookie-modal {
    background: #fff;
    padding: 34px 32px 26px 32px;
    border-radius: 18px;
    box-shadow: 0 10px 48px rgba(32,64,128,0.19);
    max-width: 400px;
    width: 96vw;
    display: flex;
    flex-direction: column;
    gap: 21px;
    position: relative;
    font-family: 'Roboto', Arial, sans-serif;
}
.cookie-modal h2 {
    margin-bottom: 8px;
    font-size: 1.3rem;
    color: #204080;
}
.cookie-category {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 13px;
}
.cookie-category input[type="checkbox"] {
    accent-color: #11a36a;
    width: 19px;
    height: 19px;
}
.cookie-modal .cookie-btn {
    min-width: 110px;
    margin-top: 5px;
}
.cookie-modal-close {
    position: absolute;
    top: 11px; right: 12px;
    background: none;
    color: #204080;
    font-size: 1.8rem;
}
.cookie-modal-close:hover, .cookie-modal-close:focus { color: #11a36a; }

/* ===================== FORMS & INPUTS ===================== */
input, textarea, select {
    font-family: inherit;
    font-size: 1rem;
    padding: 10px 12px;
    border: 2px solid #20408022;
    border-radius: 7px;
    outline: none;
    transition: border 0.18s;
    margin-bottom: 17px;
}
input:focus, textarea:focus, select:focus {
    border-color: #204080;
    background: #f6f6f6;
}
label {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    margin-bottom: 7px;
}

/* ===================== MISCELLANEOUS ===================== */
hr {
    border: none;
    border-top: 1.5px solid #20408022;
    margin: 32px 0 22px 0;
}
blockquote {
    border-left: 5px solid #204080;
    margin: 18px 0 18px 0;
    padding: 11px 18px;
    background: #f6f6f6;
    border-radius: 12px;
    color: #204080;
    font-style: italic;
}

/* Responsive images in content */
.content-wrapper img {
    border-radius: 12px;
    max-height: 290px;
    object-fit: cover;
    box-shadow: 0 1px 9px rgba(32,64,128,0.14);
}

/* ===================== Geometric Buttons & Icons ===================== */
button, .cta-btn, .cookie-btn {
    font-family: 'Montserrat', Arial, sans-serif;
    border-radius: 100px;
    box-shadow: 0 2px 7px rgba(32,64,128,0.09);
    border: none;
    outline: none;
    transition: background 0.14s, color 0.13s, box-shadow 0.12s;
}
button:active, .cta-btn:active, .cookie-btn:active {
    transform: scale(0.96);
}

/* Icon-only buttons (such as mobile-menu-close) */
.mobile-menu-close, .cookie-modal-close {
    border-radius: 50%;
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf7f9;
    color: #204080;
    box-shadow: 0 2px 13px rgba(32,64,128,0.09);
    transition: background 0.17s, color 0.16s;
}

.mobile-menu-close:hover, .cookie-modal-close:hover {
    background: #11a36a22;
    color: #11a36a;
}

/* ===================== ANIMATIONS ===================== */
.cta-btn, .card, .testimonial-card, .feature-item, .cookie-btn {
    transition: box-shadow 0.17s, transform 0.16s, background 0.14s, color 0.14s;
}
.card:hover, .testimonial-card:hover {
    box-shadow: 0 8px 23px rgba(32,64,128,0.14);
    transform: translateY(-4px) scale(1.024);
}

/* ===================== Z-INDEX ===================== */
header { z-index: 30; }
.mobile-menu { z-index: 101; }
.cookie-banner { z-index: 10003; }
.cookie-modal-overlay { z-index: 10010; }

/* ===================== SCROLLBAR ===================== */
::-webkit-scrollbar {
    width: 10px;
    background: #e3e5f3;
}
::-webkit-scrollbar-thumb {
    background: #20408044;
    border-radius: 6px;
}

/* ===================== ACCESSIBILITY ENHANCEMENTS ===================== */
a:focus, button:focus, .cta-btn:focus, .cookie-btn:focus {
    outline: 2.5px solid #11a36a;
    outline-offset: 2.5px;
}

/* ===================== STRUCTURED SPACING ===================== */
/* Applying consistent spacing patterns for all cards, flex layouts, testimonials, and sections */
.card-container, .content-grid, .text-image-section, .testimonial-card, .feature-item {
    margin-bottom: 20px;
}
.section {
    margin-bottom: 60px !important;
    padding: 40px 20px !important;
}
.card-container {
    gap: 24px !important;
}
.content-grid {
    gap: 20px !important;
}
.text-image-section {
    gap: 30px !important;
}
.testimonial-card {
    gap: 20px !important;
    padding: 20px !important;
}
.feature-item {
    gap: 15px !important;
}

/* ===================== PRINT STYLES ===================== */
@media print {
    * { background: none !important; color: #000 !important; box-shadow: none !important; text-shadow: none !important; }
    a, a:visited { text-decoration: underline; }
    header, nav, .mobile-menu, .cta-btn, .cookie-banner, .cookie-modal-overlay, footer { display: none !important; }
    .container, .content-wrapper, .card, .testimonial-card { box-shadow: none !important; border: none !important; }
}

/* ===================== END OF STYLE.CSS ===================== */
