/* =========================
   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;
    height: 100%;
    scroll-behavior: smooth;
    background: #FFF;
}
body {
    font-family: 'Roboto', Arial, Helvetica, sans-serif;
    background: #FAFAFA;
    color: #00263a;
    line-height: 1.55;
    font-size: 16px;
    min-height: 100vh;
}
img {
    display: block;
    max-width: 100%;
    height: auto;
}
a {
    color: #004466;
    text-decoration: none;
    transition: color .2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
    color: #FFD966;
    outline: none;
}
ul, ol {
    padding-left: 22px;
}
hr {
    border: none;
    border-top: 1.5px solid #80CCEA;
    margin: 32px 0;
}

/* =========================
   BRAND FONTS
========================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800&family=Roboto:wght@400;500;700&display=swap');

h1, h2, h3, h4, .btn-primary, .btn-secondary {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif;
    font-weight: 800;
    letter-spacing: -.5px;
}

h1 {
    font-size: 2.25rem;
    color: #004466;
    margin-bottom: 16px;
    line-height: 1.14;
}
h2 {
    font-size: 1.5rem;
    color: #004466;
    margin-bottom: 16px;
    line-height: 1.18;
}
h3 {
    font-size: 1.15rem;
    color: #FFD966;
    margin-bottom: 12px;
    letter-spacing: -.5px;
}
h4 {
    font-size: 1.05rem;
    color: #004466;
}

p, li, span, strong, em {
    font-size: 1rem;
    color: #00263a;
}
strong {
    font-weight: 700;
}
em {
    font-style: italic;
}

/* =========================
   LAYOUT CONTAINERS
========================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section, .hero-section, .features-section, .services-section, .testimonials-section, .about-section, .contact-section, .cta-section, .footer-section {
    margin-bottom: 60px;
    padding: 40px 20px;
    background: #FFF;
    border-radius: 24px;
    box-shadow: 0 2px 20px 0 rgba(0,68,102,0.07);
    position: relative;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

@media (min-width: 769px) {
    .content-wrapper {
        flex-direction: row;
        gap: 40px;
        align-items: center;
    }
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: flex-start;
}
.card {
    margin-bottom: 20px;
    position: relative;
    min-width: 280px;
    flex: 1 1 260px;
    background: #FFF;
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(128,204,234,0.10), 0 1.5px 6px rgba(0,68,102,0.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow .22s cubic-bezier(.4,0,.2,1), transform .22s cubic-bezier(.4,0,.2,1);
}
.card:hover, .card:focus {
    box-shadow: 0 8px 32px 0 rgba(0,68,102,0.16), 0 2px 8px rgba(255,217,102,0.20);
    transform: translateY(-6px) scale(1.025);
    z-index: 2;
}

.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;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #FAFAFA;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 16px 0 rgba(0,68,102,0.09);
    min-width: 240px;
    max-width: 500px;
    transition: box-shadow .2s cubic-bezier(.4,0,.2,1);
}
.testimonial-card p {
    color: #101820;
    font-size: 1.08em;
    font-weight: 500;
}
.testimonial-card strong {
    color: #004466;
}
.testimonial-card:hover {
    box-shadow: 0 8px 36px 0 rgba(255,217,102,0.18);
}
@media (min-width: 769px) {
    .testimonial-card {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 28px;
    }
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-section {
    margin-bottom: 0;
    background: #80CCEA10;
    box-shadow: none;
}

/* List Styles */
.features-section ul, .services-section ul, .services-section ol, .about-section ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-left: 20px;
}
.features-section li, .services-section li, .about-section li {
    position: relative;
    font-size: 1rem;
    padding-left: 0;
    color: #004466;
    font-weight: 500;
}
.features-section li img, .services-section li img {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    vertical-align: middle;
    display: inline-block;
}

/* =========================
   HEADER & NAVIGATION
========================= */
header {
    background: #004466;
    color: #FFF;
    padding: 0;
    box-shadow: 0 2px 28px 0 rgba(0,68,102,0.13);
    position: sticky;
    top: 0;
    z-index: 90;
}
header .container {
    display: flex;
    align-items: center;
    gap: 18px;
    height: 72px;
    max-width: 1180px;
}
.logo img {
    max-height: 50px;
}
.main-nav {
    display: flex;
    gap: 18px;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}
.main-nav a {
    color: #FFF;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 0;
    border-radius: 6px;
    transition: background .18s cubic-bezier(.4,0,.2,1), color .18s cubic-bezier(.4,0,.2,1);
    letter-spacing: 0.2px;
}
.main-nav a:hover, .main-nav a:focus {
    color: #FFD966;
    background: #00263a30;
}
.btn-primary {
    display: inline-block;
    background: #FFD966;
    color: #004466;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    font-size: 1.08rem;
    border-radius: 32px;
    padding: 12px 28px;
    margin-left: 12px;
    box-shadow: 0 4px 18px 0 rgba(255,217,102,0.25);
    border: none;
    cursor: pointer;
    transition: background .16s cubic-bezier(.4,0,.2,1), box-shadow .18s cubic-bezier(.4,0,.2,1), color .18s cubic-bezier(.4,0,.2,1), transform .14s cubic-bezier(.4,0,.2,1);
    text-shadow: 0 1px 0 #FFF3, 0 1.5px 2.5px #fff7;
}
.btn-primary:hover, .btn-primary:focus {
    background: #80CCEA;
    color: #00263a;
    box-shadow: 0 8px 28px 0 rgba(0,68,102,0.18);
    transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
    background: #80CCEA;
    color: #FFF;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 28px;
    padding: 10px 24px;
    margin-left: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 16px 0 rgba(128,204,234, .18);
    transition: background .16s cubic-bezier(.4,0,.2,1), box-shadow .18s cubic-bezier(.4,0,.2,1), color .18s cubic-bezier(.4,0,.2,1);
}
.btn-secondary:hover, .btn-secondary:focus {
    background: #004466;
    color: #FFD966;
    box-shadow: 0 8px 28px 0 rgba(0,68,102,0.12);
}

/* Hamburger Mobile Button */
.mobile-menu-toggle {
    display: flex;
    background: none;
    border: none;
    font-size: 2.25rem;
    color: #FFD966;
    cursor: pointer;
    margin-left: 12px;
    padding: 4px 10px;
    z-index: 110;
    align-items: center;
    transition: background .18s;
}
.mobile-menu-toggle:focus {
    background: #FFD96622;
    outline: none;
    border-radius: 8px;
}
@media (min-width: 1100px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}

/* MAIN NAV - MOBILE VISIBILITY */
@media (max-width: 1099px) {
    .main-nav {
        display: none;
    }
}
@media (min-width: 1100px) {
    .main-nav {
        display: flex;
    }
}

/* MOBILE SLIDE-IN MENU */
.mobile-menu {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,68,102,0.97);
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(-100%);
    transition: transform .33s cubic-bezier(.77,0,.175,1);
    will-change: transform;
    box-shadow: 0 4px 28px 0 rgba(0,0,0,0.18);
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu-close {
    background: none;
    border: none;
    color: #FFD966;
    font-size: 2.4rem;
    align-self: flex-end;
    margin: 22px 26px 0 0;
    cursor: pointer;
    transition: background .15s;
}
.mobile-menu-close:focus {
    background: #FFD96622;
    outline: none;
    border-radius: 6px;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0 0 0 32px;
    margin-top: 32px;
    width: calc(100vw - 64px);
}
.mobile-nav a {
    color: #FFD966;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 18px #00263a33;
    padding: 14px 0;
    border-radius: 6px;
    transition: background .13s cubic-bezier(.4,0,.2,1), color .18s cubic-bezier(.4,0,.2,1);
}
.mobile-nav a:hover, .mobile-nav a:focus {
    background: #FFD96620;
    color: #FFF;
}

/* =========================
   HERO SECTION
========================= */
.hero-section {
    background: #80CCEA linear-gradient(120deg, #80CCEA 70%, #FFD966 130%);
    background-blend-mode: multiply;
    color: #FFF;
    min-height: 310px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    border-radius: 0 0 48px 48px;
    box-shadow: 0 2px 32px 0 rgba(128,204,234,0.15);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.hero-section .content-wrapper {
    align-items: flex-start;
    gap: 18px;
}
.hero-section h1 {
    color: #004466;
    font-size: 2.65rem;
    margin-bottom: 16px;
}
.hero-section p {
    color: #00263a;
    font-size: 1.15rem;
    max-width: 600px;
    margin-bottom: 18px;
}
@media (max-width: 769px) {
    .hero-section {
        padding: 50px 16px;
        min-height: 180px;
        border-radius: 0 0 32px 32px;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    .hero-section p {
        font-size: 1.01rem;
    }
}

/* =========================
   CTA Section
========================= */
.cta-section {
    background: #FFD966;
    color: #004466;
    border-radius: 28px;
    box-shadow: 0 2px 24px 0 rgba(255,217,102,.11);
    text-align: center;
    margin-bottom: 48px;
}
.cta-section .content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.cta-section .btn-primary {
    font-size: 1.1rem;
    background: #004466;
    color: #FFD966;
    box-shadow: 0 2px 12px 0 rgba(0,68,102,0.18);
}
.cta-section .btn-primary:hover {
    background: #80CCEA;
    color: #004466;
}

/* =========================
   FEATURES, SERVICES, ABOUT, CONTACT SECTIONS
   (Consistent vibrant layout)
========================= */
.features-section, .services-section, .about-section, .contact-section {
    background: #FFF;
    border-radius: 24px;
    margin-bottom: 40px;
    box-shadow: 0 2px 14px 0 rgba(128,204,234,0.06);
}
.features-section h2, .services-section h2, .about-section h2, .contact-section h2 {
    color: #004466;
    margin-bottom: 18px;
    font-size: 1.35rem;
}
.features-section li strong, .services-section li strong {
    color: #004466;
    font-weight: 700;
}
.features-section li span, .services-section li span {
    color: #FFD966;
    font-weight: 700;
    font-size: 1rem;
}

.features-section ul, .services-section ul, .about-section ul {
    gap: 15px;
}

/* =========================
   FOOTER
========================= */
footer {
    background: #004466;
    color: #FFF;
    padding: 40px 0 18px 0;
    border-radius: 32px 32px 0 0;
    box-shadow: 0 -2px 30px 0 rgba(0,68,102,0.18);
    margin-top: 64px;
}
footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.footer-nav {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 10px 0 6px 0;
}
.footer-nav a {
    color: #FFD966;
    font-size: 0.97rem;
    font-family: 'Montserrat', Arial, sans-serif;
    text-shadow: 0 0.5px 3px #00263a30;
    transition: color .16s;
    opacity: 0.93;
}
.footer-nav a:hover,
.footer-nav a:focus {
    color: #FFF;
}
footer p {
    font-size: 0.93rem;
    color: #EDF4F8;
}

/* =========================
   COOKIE CONSENT BANNER
========================= */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: #004466;
    color: #FFD966;
    padding: 32px 20px 26px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 -2px 18px 0 rgba(0,68,102,0.28);
    gap: 18px;
    font-size: 1rem;
    animation: slideInUp .45s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes slideInUp {
    0% { transform: translateY(100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner button {
    margin: 0 8px;
    padding: 10px 26px;
    font-family: 'Montserrat', Arial, sans-serif;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px 0 rgba(255,217,102,0.15);
    transition: background .16s, color .14s, box-shadow .16s;
}
.cookie-banner .accept {
    background: #FFD966;
    color: #004466;
}
.cookie-banner .accept:hover {
    background: #80CCEA;
}
.cookie-banner .reject {
    background: #FFF;
    color: #004466;
}
.cookie-banner .reject:hover {
    background: #FFD966;
    color: #004466;
}
.cookie-banner .settings {
    background: transparent;
    color: #FFD966;
    border: 1.5px solid #FFD966;
    box-shadow: none;
    margin-left: 0;
}
.cookie-banner .settings:hover {
    background: #FFD96621;
}

/* COOKIE MODAL OVERLAY */
.cookie-modal-overlay {
    position: fixed;
    z-index: 199999;
    background: rgba(0,68,102,0.78);
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn .33s cubic-bezier(.6,0,.4,1);
}
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
/* COOKIE MODAL */
.cookie-modal {
    background: #FFF;
    color: #004466;
    border-radius: 20px;
    box-shadow: 0 8px 36px 0 rgba(0,68,102,0.23);
    padding: 36px 28px 28px 28px;
    min-width: 300px;
    max-width: 98vw;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    animation: popIn .25s cubic-bezier(.46,1.6,.52,.86);
}
@keyframes popIn {
    0% { transform: scale(.80); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
    color: #FFD966;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.27rem;
    margin-bottom: 12px;
    font-weight: 800;
}
.cookie-modal label {
    margin-bottom: 12px;
    font-size: 1.03rem;
    color: #004466;
    font-weight: 700;
    cursor: pointer;
}
.cookie-modal input[type=checkbox] {
    margin-right: 12px;
    accent-color: #FFD966;
    width: 18px;
    height: 18px;
}
.cookie-modal .cookie-category {
    padding: 8px 0;
    display: flex;
    align-items: center;
}
.cookie-modal .always-on {
    color: #80CCEA;
    font-style: italic;
    font-size: 0.97em;
}
.cookie-modal .modal-actions {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    width: 100%;
}
.cookie-modal button {
    min-width: 108px;
}

/* =========================
   MEDIA QUERIES & RESPONSIVE
========================= */
@media (max-width: 900px) {
    .footer-nav {
        gap: 14px;
    }
    .about-section .content-wrapper {
        flex-direction: column;
    }
}
@media (max-width: 768px) {
    .container {
        max-width: 98vw;
        padding: 0 10px;
    }
    .section, .hero-section, .features-section, .services-section, .testimonials-section, .about-section, .contact-section, .cta-section {
        padding: 22px 8px;
        margin-bottom: 32px;
        border-radius: 16px;
    }
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.18rem; }
    .btn-primary, .btn-secondary { font-size: 1rem; padding: 10px 16px; }
    .content-wrapper, .content-grid, .card-container {
        flex-direction: column !important;
        gap: 16px;
        align-items: stretch;
    }
    .testimonial-card {
        flex-direction: column !important;
        gap: 15px;
        min-width: 0;
        max-width: 100%;
    }
    footer {
        border-radius: 18px 18px 0 0;
        padding: 28px 0 13px 0;
    }
}
@media (max-width: 480px) {
    .footer-nav { flex-direction: column; gap: 8px; }
    .hero-section { padding: 32px 4px; min-height: 120px; }
}

/* =========================
   ANIMATIONS & MICRO-INTERACTIONS
========================= */
.btn-primary, .btn-secondary {
    transition: background .16s, color .13s, box-shadow .20s, transform .12s;
}
.btn-primary:active, .btn-secondary:active {
    box-shadow: 0 1px 8px 0 rgba(0,68,102,0.20);
    transform: scale(0.98);
}
.card:active {
    transform: scale(0.98);
}

/* =========================
   MISC
========================= */
::-webkit-input-placeholder { color: #80CCEA; }
::-moz-placeholder { color: #80CCEA; }
:-ms-input-placeholder { color: #80CCEA; }
::placeholder { color: #80CCEA; opacity: 1; }

/* Accessibility - High Contrast for Testimonial Text */
.testimonials-section {
    background: #FFF;
    color: #101820;
}
.testimonials-section h2 {
    color: #004466;
}

/* Prevent overlapping and ensure breathing room */
.section + .section, .features-section + .services-section, .services-section + .testimonials-section, .about-section + .section, .testimonials-section + .section {
    margin-top: 24px;
}
.card + .card, .testimonial-card + .testimonial-card {
    margin-top: 20px !important;
}

/* Hide scroll for modal overlay */
body.cookie-modal-open {
    overflow: hidden;
}

/* Hide cookie banner on accept (to be handled by JavaScript) */
.cookie-banner.hide {
    display: none !important;
}
.cookie-modal-overlay.hide {
    display: none !important;
}

/* -- Vibrant/Energetic Details & Electric Accents -- */
@media (min-width: 768px) {
    .hero-section::before {
        content: '';
        position: absolute;
        top: -90px; right: -110px;
        width: 260px; height: 260px;
        background: #FFD966;
        opacity: 0.13;
        border-radius: 50%;
        z-index: 0;
    }
    .hero-section::after {
        content: '';
        position: absolute;
        bottom: -60px; left: -140px;
        width: 200px; height: 200px;
        background: #80CCEA;
        opacity: .18;
        border-radius: 50%;
        z-index: 0;
    }
}
.hero-section > .container, .section > .container {
    position: relative;
    z-index: 1;
}

/* Electric accent lines (optional effect for high energy) */
.features-section h2, .services-section h2, .about-section h2, .testimonials-section h2, .footer-section h1 {
    position: relative;
}
.features-section h2::after,.services-section h2::after,.about-section h2::after,.testimonials-section h2::after,.footer-section h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: #FFD966;
    border-radius: 4px;
    margin-top: 9px;
}

/* =========================
   UTILITY CLASSES
========================= */
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-col { display: flex; flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* =========================
   PRINT
========================= */
@media print {
    header, footer, .mobile-menu, .cookie-banner, .cookie-modal-overlay {display: none !important;}
    body { background: #FFF; color: #000; }
}
