/* RESET & NORMALIZE */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, table, th, td, blockquote { margin: 0; padding: 0; font-weight: normal; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; transition: color 0.2s linear; }
img { max-width: 100%; display: block; }
button { font-family: inherit; border: none; background: none; cursor: pointer; transition: background 0.2s, color 0.2s, box-shadow 0.2s; }

body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  background: #FFF;
  color: #204164;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* FONT FACE (GOOGLE FONTS LINK SHOULD BE INCLUDED IN HTML HEAD) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Roboto:wght@400;500;700&display=swap');

h1, .display {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 2.25rem;
  color: #204164;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
  line-height: 1.15;
}
@media (min-width: 600px) {
  h1, .display { font-size: 2.75rem; }
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: #204164;
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #F4B400;
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #204164;
}

p, li, td, th {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1rem;
  color: #204164;
}
.subheadline {
  font-size: 1.15rem;
  color: #204164;
  margin-bottom: 18px;
}
strong { font-weight: 700; }

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 24px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 4px 18px 0 rgba(32,65,100,0.07);
  position: relative;
}
@media (max-width: 600px) {
  .section { padding: 28px 6px; margin-bottom: 38px; }
  .container { padding: 0 8px; }
}

/* FLEXBOX STRUCTURES */
.card-container, .feature-grid, .team-list, .case-study-list, .blog-list, .content-grid, .service-overview, .faq-list, .brand-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  align-items: stretch;
}
.card, .case-study, .feature-item, .blog-post {
  margin-bottom: 20px;
  position: relative;
  background: #E6ECF0;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(32,65,100,0.12), 0 0.5px 2px 0 rgba(244,180,0,0.04);
  padding: 28px 22px;
  transition: box-shadow 0.3s, transform 0.2s;
}
.card:hover, .case-study:hover, .feature-item:hover, .blog-post:hover {
  box-shadow: 0 8px 32px 0 rgba(244,180,0,0.11), 0 1.5px 6px 0 rgba(32,65,100,0.08);
  transform: translateY(-4px) scale(1.03);
}
.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) {
  .content-wrapper, .case-study-list, .blog-list, .feature-grid, .team-list, .service-overview, .brand-logos, .content-grid, .text-image-section, .faq-list {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/* FEATURE & TEAM ITEMS */
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fffbe8;
  border-left: 6px solid #F4B400;
  padding: 22px 18px;
  border-radius: 14px;
}
.team-list > div, .brand-logos > span {
  background: #FFF;
  border: 2.5px dashed #F4B400;
  border-radius: 13px;
  padding: 18px 16px;
  min-width: 185px;
  flex: 1;
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}
.team-list > div h3 {
  color: #204164;
}

/* TESTIMONIALS */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFD246;
  color: #204164;
  border-radius: 19px;
  box-shadow: 0 5px 26px 0 rgba(244,180,0,0.16);
  margin-bottom: 20px;
  font-size: 1.12rem;
  position: relative;
  z-index: 2;
}
.testimonial-card blockquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.14rem;
  font-weight: 700;
  line-height: 1.45;
  color: #204164;
  border-left: 5px solid #204164;
  padding-left: 20px;
}
.testimonial-card strong {
  color: #204164;
  font-weight: 700;
}
.testimonial-card div:last-child {
  color: #F4B400;
  font-size: 1.2em;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.03em;
}

/* BUTTONS & CALLS TO ACTION */
.cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  margin: 12px 0 0 0;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.13rem;
  border-radius: 28px;
  cursor: pointer;
  box-shadow: 0 3px 14px 0 rgba(244,180,0,0.11);
  outline: none;
  transition: background 0.22s, color 0.16s, transform 0.15s, box-shadow 0.2s;
  border: none;
}
.cta.primary {
  background: #F4B400;
  color: #204164;
}
.cta.primary:hover, .cta.primary:focus {
  background: #204164;
  color: #F4B400;
  transform: scale(1.045);
}
.cta.secondary {
  background: #204164;
  color: #fff;
}
.cta.secondary:hover, .cta.secondary:focus {
  background: #F4B400;
  color: #204164;
  transform: scale(1.045);
}
.btn {
  background: #204164;
  color: #fff;
  letter-spacing: 0.03em;
}
.btn:hover, .btn:focus {
  background: #F4B400;
  color: #204164;
}
a.cta, a.btn { text-align: center; }

/* INPUTS FOR COOKIE MODAL */
input[type='checkbox'] { accent-color: #F4B400; width: 18px; height: 18px; }

/* HEADER, NAVIGATION & BURGER MENU */
header {
  background: #204164;
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 80;
  box-shadow: 0 4px 18px 0 rgba(32,65,100,0.09);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}
.logo img {
  height: 42px;
  width: auto;
  vertical-align: middle;
  filter: drop-shadow(0px 2px 0px #F4B40022);
}
nav {
  display: flex;
  align-items: center;
  gap: 19px;
}
nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #fff;
  font-size: 1em;
  padding: 8px 0;
  border-bottom: 2.5px solid transparent;
  position: relative;
}
nav a:hover, nav a.active {
  color: #F4B400;
  border-bottom: 2.5px solid #F4B400;
}
nav .cta.primary {
  margin-left: 16px;
  background: #F4B400;
  color: #204164;
  border-bottom: none;
  box-shadow: 0 1.5px 4px rgba(244,180,0,0.11);
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  background: #F4B400;
  color: #204164;
  font-size: 2rem;
  border-radius: 12px;
  height: 44px;
  width: 44px;
  align-items: center;
  justify-content: center;
  z-index: 100;
  margin-left: 24px;
  transition: background 0.18s, color 0.13s, box-shadow 0.18s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #FFD246;
  color: #204164;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #204164;
  transform: translateX(100vw);
  transition: transform 0.45s cubic-bezier(.68,-0.55,.27,1.55);
  z-index: 120;
  box-shadow: -6px 0 42px 0 rgba(32,65,100,0.30);
  pointer-events: none;
  opacity: 0.98;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  font-size: 2.1rem;
  color: #F4B400;
  background: none;
  padding: 2px 11px;
  border-radius: 9px;
  transition: background 0.17s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #FFD246;
  color: #204164;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 32px 0 32px;
  height: 100%;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
  padding: 14px 6px;
  border-bottom: 2.5px solid transparent;
  border-radius: 7px;
  width: 100%;
  margin-bottom: 5px;
  transition: background 0.13s, color 0.11s, border 0.12s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  background: #F4B400;
  color: #204164;
  border-bottom: 2.5px solid #FFD246;
}
@media (max-width: 992px) {
  nav { display: none; }
  .mobile-menu-toggle { display: flex; }
}
@media (min-width: 993px) {
  .mobile-menu { display: none !important; }
}

/* BREADCRUMB (OPTIONAL, if added) */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.98rem;
  color: #204164bb;
  align-items: center;
  margin-bottom: 16px;
}
.breadcrumb a { text-decoration: underline; color: #F4B400; }

/* TABLES (PRICING & COMPARISON) */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin-bottom: 24px;
  background: #e6ecf0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 18px 0 rgba(32,65,100,0.09);
}
thead tr {
  background: #F4B400;
  color: #204164;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.11rem;
}
th, td {
  padding: 17px 12px;
  text-align: left;
  border-bottom: 2.5px solid #FFF;
  font-size: 1rem;
}
th:first-child, td:first-child {
  border-left: none;
}
th:last-child, td:last-child {
  border-right: none;
}
tr:last-child td {
  border-bottom: none;
}
@media (max-width: 700px) {
  table, thead, tbody, th, td, tr {
    display: block;
    width: 100%;
  }
  th, td { padding: 14px 7px; }
}

/* FAQ structure */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}
.faq-list > div {
  background: #fffbe8;
  border-left: 4.5px solid #F4B400;
  border-radius: 11px;
  padding: 15px 18px;
  flex: 1 1 170px;
  min-width: 210px;
  box-shadow: 0 3px 13px 0 rgba(244,180,0,0.07);
}
.faq-list h3 {
  font-size: 1.13rem;
  margin-bottom: 8px;
  color: #204164;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* SERVICE LIST */
.service-list {
  margin: 0 0 20px 0;
  padding: 0 0 0 19px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.service-list li:before {
  content: '\272A';
  color: #F4B400;
  margin-right: 10px;
  font-size: 1em;
  vertical-align: middle;
}

/* BLOG LIST */
.blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.blog-post {
  background: #fffbe8;
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: 0 2px 13px 0 rgba(244,180,0,0.07);
  min-width: 220px;
  flex: 1 1 260px;
}
.blog-post h3 { color: #204164; }
.blog-post a {
  color: #F4B400;
  font-weight: bold;
  margin-top: 7px;
  display: inline-block;
  transition: color 0.13s;
}
.blog-post a:hover {
  color: #204164;
  text-decoration: underline;
}

/* PRICING & COMPARISON CHARTS */
.pricing-table th, .comparison-chart th {
  background: #F4B400;
  color: #204164;
}
.pricing-table td, .comparison-chart td { background: #E6ECF0; color: #204164; }
@media (max-width:740px) {
  .pricing-table tbody, .comparison-chart tbody { display: block; }
}

/* CONTACT INFO & FOOTER */
footer {
  background: #204164;
  color: #fff;
  padding: 30px 0 16px 0;
  font-size: 0.97rem;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  border-top: 5px solid #F4B400;
  padding-top: 24px;
}
footer nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: #F4B400;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
  transition: color 0.14s;
}
footer nav a:hover {
  color: #FFD246;
  text-decoration: underline;
}
.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 22px;
  align-items: center;
}
.contact-info span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 1em;
}
.contact-info img { width: 23px; height: 23px; margin-right: 3px; }
footer .container > div:last-child {
  margin-top: 6px;
  font-size: 0.93em;
  color: #F4B400;
  font-family: 'Montserrat', Arial, sans-serif;
}
@media (max-width: 900px) {
  footer .container { align-items: flex-start; gap: 10px; }
}
@media (max-width: 600px) {
  footer .container { padding-top: 8px; }
  footer nav { gap: 9px; }
  .contact-info span { font-size: 0.95em; }
}

/* MAP/ADDRESS SECTIONS */
.map {
  background: #E6ECF0;
  border-radius: 13px;
  padding: 18px 16px;
  margin-top: 14px;
  color: #204164;
}

/* BRAND LOGOS */
.brand-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 5px;
}
.brand-logos span {
  padding: 14px 14px 14px 8px;
  background: #fffbe8;
  border-radius: 10px;
  font-weight: 700;
  font-family: 'Roboto', Arial, sans-serif;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #204164;
}
.brand-logos img {
  height: 34px;
  width: auto;
}

/* CONTACT DETAILS SECTION */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 15px 0;
}
.contact-details div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1em;
}

/* TABLE FONTS FOR MOBILE */
@media (max-width: 520px) {
  th, td { font-size: 0.98em; }
}

/* ANIMATIONS & MICRO-INTERACTIONS */
@keyframes playful-bounce {
  0%,100% { transform: scale(1) rotate(-1deg); }
  30% { transform: scale(1.04) rotate(1.3deg); }
  60% { transform: scale(0.98) rotate(-2.5deg); }
}
.cta.primary, .btn, .mobile-menu-toggle, .mobile-menu-close {
  animation: playful-bounce 2.5s infinite linear alternate-reverse;
  animation-delay: 0.10s;
}
.logo img {
  animation: playful-bounce 2.2s cubic-bezier(.62,.04,.41,1.01) infinite alternate;
  animation-delay: 0.2s;
}

/* PLAYFUL COLORFUL BADGES (Tag/Category example) */
.badge, .category {
  display: inline-block;
  background: #F4B400;
  color: #204164;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.88em;
  padding: 6px 16px;
  border-radius: 12px;
  margin-right: 11px;
}

/* COOKIE CONSENT BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: #204164;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 22px;
  padding: 18px 18px 18px 26px;
  box-shadow: 0 -2px 22px 0 rgba(32,65,100,0.20);
  font-size: 1rem;
  flex-wrap: wrap;
  transition: transform 0.38s cubic-bezier(.68,-0.55,.27,1.55);
}
.cookie-banner.hide {
  transform: translateY(120%);
  pointer-events: none;
}
.cookie-banner .cookie-text { flex: 1 1 240px; margin-bottom: 8px; }
.cookie-banner button {
  margin-right: 10px;
  margin-bottom: 4px;
  font-size: 0.97em;
  padding: 11px 23px;
}
.cookie-banner .accept {
  background: #F4B400;
  color: #204164;
  border-radius: 26px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  border: none;
}
.cookie-banner .accept:hover, .cookie-banner .accept:focus {
  background: #FFD246;
}
.cookie-banner .reject {
  background: #fffbe8;
  color: #204164;
  border-radius: 22px;
  border: 2px solid #F4B400;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
.cookie-banner .reject:hover, .cookie-banner .reject:focus {
  background: #FFD246;
  color: #204164;
}
.cookie-banner .settings {
  background: #204164;
  color: #F4B400;
  border: 2px solid #F4B400;
  border-radius: 20px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-banner .settings:hover, .cookie-banner .settings:focus {
  background: #F4B400;
  color: #204164;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 6px 12px 7px;
    font-size: 0.98em;
  }
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 1001;
  left: 0; top: 0;width: 100vw;height: 100vh;
  background: rgba(32,65,100,0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.28s;
}
.cookie-modal {
  background: #fff;
  color: #204164;
  border-radius: 24px;
  box-shadow: 0 7px 36px 0 rgba(32,65,100,0.10), 0 1.5px 7px rgba(244,180,0,0.07);
  min-width: 320px;
  max-width: 95vw;
  padding: 36px 32px 24px 32px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  animation: playful-bounce 0.7s;
}
.cookie-modal h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  color: #204164;
  margin-bottom: 7px;
}
.cookie-modal .cookie-category {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.cookie-modal label {
  font-size: 1em;
  color: #204164;
  font-weight: 500;
}
.cookie-modal .cookie-category input[type="checkbox"]:disabled + label {
  color: #aaa;
  text-decoration: line-through;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 14px;
  justify-content: flex-end;
}
.cookie-modal button {
  padding: 9px 23px;
  font-size: 1em;
  border-radius: 22px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 16px; right: 16px;
  font-size: 2rem;
  background: transparent;
  color: #204164;
  border: none;
  border-radius: 50%;
  transition: background 0.13s;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  background: #E6ECF0;
}
@media (max-width:500px) {
  .cookie-modal { padding: 13px 4vw 17px 4vw; min-width: 95vw; }
  .cookie-modal .cookie-actions { flex-direction: column; align-items: stretch; }
}

/* Links & Interactive elements */
a {
  color: #204164;
  transition: color 0.18s, text-decoration 0.12s, background 0.13s;
}
a:hover {
  color: #F4B400;
  text-decoration: underline;
}

/* Miscellaneous - Spacing consistency */
section + section { margin-top: 34px; }
.content-wrapper > * + * { margin-top: 8px; }
.section:last-child { margin-bottom: 38px; }

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 9px;
  background: #E6ECF0;
}
::-webkit-scrollbar-thumb {
  background: #F4B400;
  border-radius: 12px;
}

/* Scroll to Top (if used) */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 22px;
  z-index: 102;
  background: #F4B400;
  color: #204164;
  font-size: 1.6rem;
  padding: 6px 13px;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(32,65,100,0.12);
  border: none;
  display: none;
  cursor: pointer;
  transition: background 0.14s, color 0.10s, transform 0.18s;
}
.scroll-top:hover, .scroll-top:focus { background: #FFD246; transform: scale(1.08); }
.scroll-top.show { display: block; }

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 900px) {
  h1 { font-size: 1.8rem; }
  .footer .container { flex-direction: column; gap: 10px; }
}
@media (max-width: 700px) {
  h1, .display { font-size: 1.32rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1rem; }
  .content-wrapper, .testimonials, .case-study-list, .feature-grid, .team-list, .service-overview, .brand-logos, .faq-list, .blog-list {
    gap: 11px;
  }
  .card, .testimonials, .feature-item, .case-study, .blog-post { padding: 14px 8px; }
}

/* --- SPECIAL CLASSES (for playful/dynamic effect) --- */
.card::before, .feature-item::before, .testimonial-card::before, .blog-post::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 13px;
  width: 26px;
  height: 26px;
  background: #FFD246CC;
  border-radius: 45% 55% 62% 38%/49% 36% 64% 51%;
  z-index: 0;
  filter: blur(2px);
  opacity: 0.12;
  pointer-events: none;
  animation: playful-bounce 2.5s infinite alternate-reverse;
}

/* Ensure no card overlaps (spacing) */
.card:not(:last-child), .feature-item:not(:last-child), .case-study:not(:last-child), .blog-post:not(:last-child), .testimonial-card:not(:last-child) {
  margin-bottom: 20px;
}

/* Utility classes */
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.rounded { border-radius: 14px !important; }
.mt-24 { margin-top: 24px !important; }