/* === CSS RESET & NORMALIZATION === */
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,main,menu,nav,output,ruby,section,summary,time,mark,audio,video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}
body {
    line-height: 1.5;
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    color: #162945;
    background: #FFFFFF;
    min-height: 100vh;
}
:root {
    --primary: #0A437A;
    --secondary: #EDEFF2;
    --accent: #D25F24;
    --brand-dark: #162945;
    --brand-light: #FFFFFF;
    --success: #3bb27c;
    --error: #dc3b4f;
    --radius: 18px;
    --radius-lg: 28px;
    --shadow: 0 3px 18px 0 rgba(10, 67, 122, 0.09);
    --shadow-lg: 0 6px 32px 0 rgba(10, 67, 122, 0.13);
    --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
    --font-body: 'Open Sans', Arial, Helvetica, sans-serif;
}

@media (max-width: 480px) { html { font-size: 15px; } }
@media (max-width: 380px) { html { font-size: 13.5px; } }

*, *:before, *:after { box-sizing: inherit; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover, a:focus { color: var(--accent); }

/* === HEADINGS & TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: bold;
    color: var(--primary);
    text-rendering: optimizeLegibility;
}
h1 { font-size: 2.75rem; margin-bottom: 24px; letter-spacing: -1px; }
h2 { font-size: 2.1rem; margin-bottom: 20px; letter-spacing: -.5px; }
h3 { font-size: 1.32rem; margin-bottom: 10px; font-weight: 600; }
h4, h5, h6 { font-size: 1rem; margin-bottom: 10px; }

p, ul, ol, .notes-disclaimer, .next-steps-info { font-size: 1.08rem; margin-bottom: 18px; }
ul, ol { padding-left: 24px; }
li { margin-bottom: 8px; }
strong { font-weight: bold; }

.hero-subheadline { font-size: 1.35rem; color: var(--brand-dark); font-family: var(--font-body); margin-bottom: 16px; }

/* === LAYOUTS & CONTAINERS === */
.container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}
.content-wrapper {
    margin: 0 auto;
    padding-top: 16px;
    padding-bottom: 16px;
}

.section,
main > section {
    margin-bottom: 60px;
    padding: 40px 20px;
    border-radius: var(--radius-lg);
    background: var(--secondary);
    box-shadow: var(--shadow);
    position: relative;
}
@media (max-width: 900px) {
  .section, main > section { padding: 32px 10px; }
}
@media (max-width: 600px) {
  .section, main > section {
    margin-bottom: 38px;
    padding: 16px 4px;
  }
}

/* === HEADER === */
header {
    width: 100%;
    background: #F8FBFE;
    box-shadow: 0 2px 9px 0 rgba(10, 67, 122, 0.04);
}
header .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 72px;
    padding-top: 8px;
    padding-bottom: 8px;
}
header img { height: 44px; aspect-ratio: 4.5/1; object-fit: contain; }
.desktop-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 28px;
    font-family: var(--font-display);
    font-weight: 500;
}
.desktop-nav a {
    color: var(--primary);
    font-size: 1.08rem;
    padding: 7px 7px;
    border-radius: 6px;
    transition: background .18s;
    position: relative;
}
.desktop-nav a:hover,
.desktop-nav a:focus {
    background: var(--accent);
    color: #fff;
}
.btn-primary {
    font-family: var(--font-display);
    font-weight: 600;
    color: #f9f9f9;
    background: linear-gradient(90deg,#D25F24,#0A437A);
    background-size: 220% 100%;
    background-position: 100% 0;
    border: none;
    border-radius: var(--radius);
    padding: 14px 34px;
    font-size: 1.12rem;
    letter-spacing: 1px;
    box-shadow: 0 2px 14px 0 rgba(162, 63, 30, 0.16);
    cursor: pointer;
    outline: none;
    transition: background-position .22s, box-shadow .22s, transform .12s;
    display: inline-block;
    margin-left: 16px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.btn-primary:hover,.btn-primary:focus {
    background-position: 0 0;
    box-shadow: 0 5px 22px 0 rgba(162, 63, 30, 0.24);
    transform: translateY(-1px) scale(1.03);
    color: #fff;
}

/* === HERO === */
.hero {
    background: linear-gradient(120deg, #EDEFF2 45%, #FFDFC1 100%);
    padding: 60px 0 36px 0;
    margin-bottom: 28px;
    border-bottom: 3px solid #D25F24;
}
.hero .container { 
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
    gap: 32px;
}
.hero .content-wrapper {
    max-width: 620px;
    margin-top: 18px;
}
@media (max-width: 900px) {
  .hero { padding: 34px 0 18px 0; }
}

/* === FLEXBOX PATTERNS (MANDATORY LAYOUTS) === */
.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.card {
    margin-bottom: 20px;
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    flex: 1 1 320px;
    min-width: 280px;
}
.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: #FAFCFD;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 20px;
    font-size: 1.13rem;
}
.testimonial-meta {
    font-size: 1rem;
    color: var(--primary);
    margin-top: 4px;
    font-family: var(--font-display);
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}
.features-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: flex-start;
    align-items: stretch;
    margin-bottom: 12px;
}
.feature {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    flex: 1 1 250px;
    min-width: 225px;
    max-width: 310px;
    padding: 28px 20px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    position: relative;
    transition: transform .15s, box-shadow .18s;
}
.feature img {
    width: 46px; height: 46px; margin-bottom: 7px;
}
.feature:hover, .feature:focus-within {
    transform: translateY(-4px) scale(1.025);
    box-shadow: var(--shadow-lg);
    background: #FFFAF4;
}

/* === TABLES & NOTES === */
table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin-bottom: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    font-size: 1.1rem;
}
th, td {
    padding: 16px 14px;
    text-align: left;
    border-bottom: 1px solid #EDEFF2;
}
th { background: var(--primary); color: #fff; font-family: var(--font-display); }
tr:last-child td { border-bottom: none; }
.notes-disclaimer {
    background: #FFF9E7;
    border-left: 4px solid var(--accent);
    padding: 16px 18px;
    border-radius: 9px;
    font-size: 1.01rem;
    box-shadow: 0 2px 6px rgba(210, 95, 36, 0.07);
    margin-top: 17px;
}

/* === FAQ ACCORDION === */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 24px;
}
.faq-accordion > div {
    background: #fff;
    border-radius: 13px;
    box-shadow: var(--shadow);
    padding: 13px 22px;
    cursor: pointer;
    transition: box-shadow 0.16s;
    border-left: 5px solid var(--primary);
    font-size: 1.07rem;
}
.faq-accordion > div:hover { box-shadow: var(--shadow-lg); }
.faq-accordion strong { color: var(--accent); font-family: var(--font-display); }

.downloads-section h3 {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 1.08rem;
}
.downloads-section ul {
    padding-left: 18px;
    margin-bottom: 12px;
}
.downloads-section a::before {
    content: '\2193';
    color: var(--primary);
    margin-right: 6px;
}

.next-steps-info {
    font-size: .99rem;
    color: var(--brand-dark);
    margin-bottom: 16px;
    background: #F2F8FF;
    border-left: 3.5px solid var(--primary);
    padding: 9px 14px;
    border-radius: 8px;
}

/* === MAP/CONTACT DETAILS === */
.contact-details {
    background: #fafbfc;
    padding: 12px 16px;
    border-radius: 11px;
    box-shadow: 0 1px 4px rgba(10,67,122,0.07);
    margin-bottom: 20px;
    font-size: 1.08rem;
    color: var(--brand-dark);
}
.map-location {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 10px;
    font-size: .99rem;
    background: #EDEFF2;
    border-radius: 8px;
    margin-bottom: 16px;
    color: var(--primary);
    max-width: 420px;
}

/* === CARDS === */
.card {
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    padding: 26px 14px 16px 14px;
    margin-bottom: 20px;
}

/* === SPACING CLASSES FOR CONSISTENCY === */
.mb-8 { margin-bottom: 8px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }

/* === BUTTONS === */
.btn-primary,
button.btn-primary {
    font-family: var(--font-display);
    font-weight: 600;
    color: #f9f9f9;
    background: linear-gradient(92deg, var(--accent) 0%, var(--primary) 90%);
    background-size: 130% 100%;
    background-position: 97% 0;
    border: none;
    border-radius: var(--radius);
    padding: 12px 32px;
    font-size: 1.11rem;
    letter-spacing: .8px;
    box-shadow: 0 3.5px 14px 0 rgba(162,63,30,0.15);
    cursor: pointer;
    outline: none;
    transition: background-position .22s, box-shadow .22s, transform .12s;
    margin-top: 8px;
    text-align: center;
}
button.btn-primary:active { background-position: 0 0; }
.btn-primary:hover,
.btn-primary:focus {
    background-position: 0 0;
    box-shadow: 0 7px 22px 0 rgba(162,63,30,0.20);
    transform: translateY(-2px) scale(1.032);
    color: #fff;
}

/* === FOOTER === */
footer {
    background: var(--primary);
    color: #fff;
    padding: 38px 0 0 0;
}
footer .container {
    display: flex;
    flex-direction: column;
    gap: 26px;
}
.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.footer-logo img {
    height: 47px;
    margin-bottom: 10px;
}
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}
.footer-links a { color: #fff; font-size: 1.07rem; font-family: var(--font-display); }
.footer-links a:hover { color: var(--accent); }
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 7px;
    font-size: .99rem;
}
.footer-contact img {
    width: 20px;
    vertical-align: middle;
    margin-right: 4px;
}
.footer-bottom {
    text-align: center;
    font-size: .96rem;
    padding: 18px 0 12px 0;
    border-top: 1.5px solid #284b6e;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
    display: none;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 2.22rem;
    position: absolute;
    right: 22px;
    top: 18px;
    z-index: 1102;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    transition: background .18s, box-shadow .15s;
    box-shadow: 0 2px 10px rgba(162, 63, 30, 0.09);
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
    background: var(--primary);
    color: #fff;
}
@media (max-width: 1100px) {
    .desktop-nav { display: none !important; }
    .btn-primary { margin-left: 0; }
    .mobile-menu-toggle {
        display: flex;
    }
}
.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    position: fixed;
    top: 0; left: 0; height: 100vh; width: 100vw;
    background: rgba(16,27,52,0.90);
    z-index: 1200;
    transform: translateX(100%);
    transition: transform 0.34s cubic-bezier(.33,1.37,.55,1);
    pointer-events: none;
    opacity: 0;
}
.mobile-menu.open {
    transform: translateX(0);
    pointer-events: all;
    opacity: 1;
}
.mobile-menu-close {
    color: #fff;
    background: var(--accent);
    font-weight: bold;
    font-size: 2.2rem;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    margin: 24px 27px 10px 0;
    cursor: pointer;
    box-shadow: 0 1.5px 7px rgba(210, 95, 36,0.11);
    transition: background .18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
    background: var(--primary);
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    width: 100vw;
    gap: 23px;
    align-items: flex-start;
    padding: 38px 40px 0 38px;
    font-family: var(--font-display);
}
.mobile-nav a {
    color: #fff;
    font-size: 1.40rem;
    font-weight: 600;
    padding: 10px 6px;
    border-radius: 8px;
    transition: background .18s, color .16s;
    width: 100%;
    display: block;
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: var(--accent);
    color: #fff;
}
@media (max-width: 700px) {
    .mobile-nav { padding: 30px 18px 0 16px; }
    .mobile-nav a { font-size: 1.21rem; }
    .mobile-menu-close { margin-right: 12px; }
}

/* Ensure header controls layering properly on mobile */
header, .mobile-menu, .mobile-menu-toggle {
    z-index: 1101;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1100px) {
    .container { max-width: 100%; }
    footer .container, .footer-columns {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
    }
}
@media (max-width: 900px) {
    .features-grid, .card-container, .content-grid {
        gap: 16px;
        justify-content: flex-start;
    }
    .feature, .card {
        min-width: 150px;
        padding: 18px 9px 14px 9px;
    }
}
@media (max-width: 700px) {
    .features-grid, .card-container, .content-grid {
        flex-direction: column !important;
        gap: 12px;
    }
    .feature, .card {
        max-width: 100%; width: 100%;
    }
    .testimonial-card { flex-direction: column; gap: 8px; align-items: flex-start; }
    .footer-columns { padding-bottom: 16px; }
}
@media (max-width: 768px) {
    .text-image-section {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
}

/* === ANIMATIONS / MICRO-INTERACTIONS === */
.feature, .card, .testimonial-card, .faq-accordion > div,
.btn-primary, .cookie-banner, .cookie-modal {
    transition: box-shadow .19s, background .16s, color .18s, transform .14s;
}

/* === COOKIE CONSENT COMPONENT === */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100vw;
    background: #222d36;
    color: #f2f2f2;
    z-index: 2000;
    box-shadow: 0 -1.5px 19px rgba(10,67,122,0.12);
    padding: 19px 13px 17px 19px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 19px;
    font-size: 1.02rem;
    opacity: 1;
    transform: translateY(0);
    transition: opacity .24s, transform .2s;
    border-radius: 18px 18px 0 0;
}
.cookie-banner.hide {
    opacity: 0;
    transform: translateY(160px);
    pointer-events: none;
}
.cookie-banner-message {
    flex: 1 1 240px;
    min-width: 120px;
    margin-right: 10px;
}
.cookie-banner-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.cookie-btn {
    font-size: 1rem;
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    cursor: pointer;
}
.cookie-btn.accept {
    background: var(--accent);
    color: #fff;
}
.cookie-btn.reject {
    background: #e2e6ee;
    color: var(--brand-dark);
}
.cookie-btn.settings {
    background: transparent;
    color: var(--accent);
    text-decoration: underline;
}
.cookie-btn:active, .cookie-btn:focus {
    box-shadow: 0 2px 16px 0 rgba(162,63,30,0.15);
}

/* === COOKIE PREFERENCES MODAL === */
.cookie-modal {
    display: flex;
    flex-direction: column;
    position: fixed;
    left: 50%;
    top: 50%;
    min-width: 340px;
    max-width: 97vw;
    width: 390px;
    transform: translate(-50%,130%);
    transition: opacity .26s, transform .23s cubic-bezier(.32,1,.5,1);
    background: #fff;
    color: var(--brand-dark);
    z-index: 2200;
    border-radius: 18px;
    box-shadow: 0 2px 34px 2px rgba(16,27,52,0.19);
    opacity: 0;
    padding: 30px 27px 22px 24px;
    pointer-events: none;
}
.cookie-modal.open {
    opacity: 1;
    transform: translate(-50%,-50%);
    pointer-events: all;
}
.cookie-modal-header { font-family: var(--font-display); font-size: 1.22rem; font-weight: 600; margin-bottom: 11px; }
.cookie-modal-category {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}
.cookie-category-label {
    font-weight: 600;
    color: var(--primary);
}
.cookie-toggle {
    position: relative;
    width: 40px;
    height: 22px;
    background: #e5e6ea;
    border-radius: 19px;
    transition: background .17s;
    cursor: pointer;
    flex-shrink: 0;
}
.cookie-toggle input { display: none; }
.cookie-toggle-slider {
    position: absolute;
    left: 2px;
    top: 2px;
    background: var(--primary);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    transition: left .19s, background .17s;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
    left: 20px;
    background: var(--accent);
}
.cookie-modal .modal-footer {
    margin-top: 19px;
    display: flex;
    gap: 13px;
    justify-content: flex-end;
}
.cookie-modal-close {
    position: absolute;
    right: 18px; top: 17px;
    background: transparent;
    border: none;
    color: var(--accent);
    font-size: 1.5rem;
    cursor: pointer;
}
.cookie-modal-close:hover { color: var(--primary); }

/* === ARTISTIC/CREATIVE EXTRAS === */
.section {
    position: relative;
    overflow: visible;
}
.section:before {
    content: '';
    position: absolute;
    top: -20px; left: -20px;
    width: 80px; height: 80px;
    background: rgba(210,95,36,0.07);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}
.section:after {
    content: '';
    position: absolute;
    bottom: -13px; right: -15px;
    width: 44px; height: 44px;
    background: rgba(10,67,122,0.11);
    border-radius: 38px 33px 44px 35px/44px 38px 20px 29px;
    z-index: 0;
    pointer-events: none;
}
/* Doodle/Hand-drawn effect for creative edge */
.testimonial-card { border: 2.5px dashed #EDEFF2; }
.feature::before {
    content: '';
    position: absolute;
    right: -22px; top: -22px;
    width: 60px; height: 60px;
    background: rgba(218, 85, 18, 0.06);
    border-radius: 47px 32px 60px 27px/60px 38px 34px 40px;
    z-index: 0;
}

/* === MISC === */
::-webkit-scrollbar { width: 8px; background: #e4e8f1; border-radius: 8px; }
::-webkit-scrollbar-thumb { background: #b3b9c8; border-radius: 8px; }
select,
input,
textarea {
    font-family: var(--font-body);
    border-radius: 7px;
    border: 1.1px solid #dce0e8;
    background: #fff;
    padding: 8px 10px;
    font-size: 1.06rem;
    transition: border .14s;
    margin-bottom: 12px;
}
select:focus,
input:focus,
textarea:focus {
    border: 1.5px solid var(--primary);
    outline: none;
}

/* === PRINT STYLES (BASIC) === */
@media print {
    body { background: #fff; color: #111; }
    header, footer, .cookie-banner, .cookie-modal { display: none !important; }
    main, .container, .content-wrapper { padding: 0 !important; margin: 0 !important;  }
    .section { background: #fff !important; box-shadow: none !important; }
}
