/* CSS Reset and 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1;
  min-height: 100vh;
  background: #FCFCFF;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* BRAND COLORS & FONTS */
:root {
  --primary: #1D2327;
  --secondary: #3E7CB1;
  --accent: #FFD300;
  --bg: #FCFCFF;
  --surface: #fff;
  --success: #2ED573;
  --danger: #FF6363;
  --shadow: rgba(62,124,177,0.10);
}
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;900&family=Open+Sans:wght@400;600;700&display=swap');

html, body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--primary);
  background: var(--bg);
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.5px;
  line-height: 1.15;
  color: var(--secondary);
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 14px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  font-weight: 700;
}
p, ul, ol, address, span {
  color: var(--primary);
  font-size: 1rem;
  line-height: 1.7;
}
strong { font-weight: 700; }

/* Fun, playful font for headings/CTAs */
.cta-btn, .cookie-btn, .mobile-menu-toggle, .mobile-menu-close {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
}

a, .cta-btn, .footer-nav a, .mobile-nav a {
  transition: color 0.18s, background 0.22s, box-shadow 0.22s, transform 0.15s;
}

/* SPACING CONTAINERS; FLEX SETTINGS */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: 0 4px 18px var(--shadow);
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-5px) scale(1.03) rotate(-2deg);
  box-shadow: 0 7px 32px rgba(62,124,177,0.18);
}

.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 {
  background: #fffbe5;
  border-left: 5px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(29,35,39,0.07);
  font-size: 1.06rem;
  color: #282828;
  position: relative;
}
.testimonial-card p {
  color: #282828;
  font-weight: 600;
  font-size: 1.04rem;
  margin-right: 12px;
}
.testimonial-card span {
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 700;
  opacity: 0.82;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--surface);
  border-radius: 13px;
  box-shadow: 0 2px 16px var(--shadow);
  padding: 24px 18px 18px 18px;
  margin-bottom: 20px;
  position: relative;
  min-width: 210px;
  flex: 1 1 220px;
  transition: transform 0.16s, box-shadow 0.17s, background 0.19s;
}
.feature-item img {
  width: 42px;
  height: 42px;
}
.feature-item:hover {
  box-shadow: 0 6px 24px rgba(62,124,177,0.13);
  background: #e9f5ff;
  transform: scale(1.025) rotate(-1.5deg);
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}

.blog-categories {
  margin-top: 34px;
  background: #F5F8FD;
  border-radius: 13px;
  padding: 24px 18px;
  box-shadow: 0 2px 17px rgba(62,124,177,0.07);
}
.blog-categories ul {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.faq-list li {
  background: var(--surface);
  box-shadow: 0 2px 12px var(--shadow);
  border-left: 6px solid var(--secondary);
  padding: 20px 26px;
  border-radius: 12px;
}
.faq-list h3 {
  color: var(--secondary);
  margin-bottom: 8px;
  font-size: 1.13rem;
  font-weight: 700;
}

/* BUTTONS, CTA-BTN, ANIMATION */
.cta-btn, .cookie-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 23px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.13rem;
  font-weight: 900;
  box-shadow: 0 2px 14px rgba(255,211,0,0.09);
  cursor: pointer;
  margin-top: 10px;
  letter-spacing: 0.4px;
  transition: background 0.19s, color 0.15s, transform 0.10s, box-shadow 0.18s;
  will-change: transform, background;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--secondary);
  color: #fff;
  transform: translateY(-3px) scale(1.045);
  box-shadow: 0 6px 28px rgba(62,124,177,0.12);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(90deg, #ffd300 32%, #3e7cb1 100%);
  background-size: 180% 100%;
  background-position: left center;
  animation: heroBgMove 6s infinite alternate cubic-bezier(0.66,0,0.34,1);
  margin-bottom: 55px;
  padding: 60px 0 40px 0;
  border-bottom-left-radius: 48px 32px;
  border-bottom-right-radius: 48px 32px;
  position: relative;
  box-shadow: 0 6px 34px rgba(29,35,39,0.07);
}
@keyframes heroBgMove {
  0% { background-position: left center; }
  100% { background-position: right center; }
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.hero h1, .hero p {
  color: var(--primary);
  text-shadow: 0 2px 0 #fff8b0;
}
.hero h1 {
  font-size: 2.3rem;
}
.hero p {
  font-size: 1.18rem;
  font-family: 'Open Sans', Arial, sans-serif;
  margin-bottom: 24px;
  color: var(--primary);
}
.hero .cta-btn {
  margin-top: 0;
  margin-bottom: 5px;
}
.hero .search-bar {
  width: 100%;
  max-width: 340px;
  font-size: 1rem;
  padding: 12px 20px;
  border: 2px solid var(--accent);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 1px 10px rgba(255,211,0,0.08);
  margin-top: 18px;
  margin-bottom: 8px;
  outline: none;
  transition: box-shadow 0.19s, border 0.14s;
}
.hero .search-bar:focus {
  border: 2px solid var(--secondary);
  box-shadow: 0 2px 20px rgba(62,124,177,0.14);
}

/* NAVIGATION */
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
.main-nav a {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 6px 15px;
  border-radius: 10px;
  transition: background 0.13s, color 0.14s;
}
.main-nav a:hover, .main-nav a.active {
  background: var(--accent);
  color: var(--primary);
  position: relative;
}
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 16px rgba(62,124,177,0.09);
  padding: 0;
  position: relative;
  z-index: 90;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  width: 100%;
}
header img {
  height: 46px;
  width: auto;
  margin-right: 18px;
}

/* MOBILE NAVIGATION */
.mobile-menu-toggle {
  display: none;
  font-size: 2.1rem;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  margin-left: 18px;
  transition: color 0.15s, transform 0.17s;
  z-index: 120;
  border-radius: 12px;
  padding: 6px 16px 3px 10px;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:focus {
  color: var(--primary);
  background: var(--accent);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(61,124,176,0.97);
  z-index: 2000;
  transform: translateX(-110vw);
  transition: transform 0.4s cubic-bezier(0.18,0.84,0.67,1);
  box-shadow: 0 10px 40px rgba(29,35,39,0.08);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 24px;
  background: var(--accent);
  color: var(--primary);
  border: none;
  font-size: 2.6rem;
  border-radius: 14px;
  cursor: pointer;
  z-index: 2021;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 15px rgba(255,211,0,0.11);
  transition: background 0.13s, color 0.18s, transform 0.13s;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 70px;
  padding: 12px 28px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.36rem;
  padding: 10px 6px 10px 10px;
  font-weight: 900;
  border-radius: 11px;
  transition: background 0.19s, color 0.13s, transform 0.13s;
  min-width: 90%;
  margin-left: 6px;
  margin-bottom: 1px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
  transform: translateX(8px) scale(1.07);
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 12px;
  }
}
@media (max-width: 860px) {
  .main-nav {
    gap: 7px;
  }
  .footer-nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav { display: none !important; }
  .cta-btn { display: none !important; }
  .mobile-menu-toggle { display: inline-flex; }
}

/* FOOTER */
footer {
  background: #f1f8ff;
  border-top: 6px solid var(--secondary);
  padding: 48px 0 22px 0;
  font-size: 1rem;
  color: #282828;
  margin-top: 80px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 26px;
  justify-content: space-between;
}
.footer-logo { flex: 1 1 140px; display: flex; align-items: center; }
.footer-nav {
  flex: 2 1 250px;
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--secondary);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  padding: 5px 14px;
  transition: background 0.15s, color 0.17s;
}
.footer-nav a:hover { background: var(--accent); color: var(--primary); }
.footer-contact {
  flex: 2 1 250px;
  font-size: 0.98rem;
  margin-top: 7px;
}
footer img { height: 36px; width: auto; }

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #282f49;
  color: #fff;
  z-index: 1999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 -4px 18px rgba(29,35,39,0.13);
  padding: 18px 14px 18px 20px;
  gap: 20px;
  flex-wrap: wrap;
  animation: cookieBannerIn 0.6s cubic-bezier(0.8,0,0.35,1);
}
@keyframes cookieBannerIn {
  from { transform: translateY(100px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #fff;
  margin-bottom: 0;
  font-size: 1.07rem;
}
.cookie-btn {
  margin: 0 7px;
  padding: 9px 22px;
  font-size: 0.98rem;
  font-weight: 700;
  border: none;
  border-radius: 12px;
  color: var(--primary);
  background: var(--accent);
  cursor: pointer;
  transition: background 0.14s, color 0.13s;
  box-shadow: 0 1px 7px rgba(255,211,0,0.12);
}
.cookie-btn:hover, .cookie-btn:focus { background: var(--secondary); color: #fff; }
.cookie-btn.settings {
  background: var(--secondary);
  color: #fff;
}
.cookie-btn.settings:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Cookie Preference Modal */
.cookie-modal-overlay {
  position: fixed;
  z-index: 2200;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(29,35,39,0.59);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieModalIn 0.35s ease;
}
@keyframes cookieModalIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal {
  background: #fff;
  color: var(--primary);
  padding: 36px 28px 28px 28px;
  border-radius: 22px;
  box-shadow: 0 8px 38px rgba(62,124,177,0.19);
  min-width: 320px;
  max-width: 98vw;
  min-height: 245px;
  animation: cookieModalPop 0.40s cubic-bezier(0.65,0,0.36,1);
  display: flex;
  flex-direction: column;
  gap: 23px;
  align-items: flex-start;
  position: relative;
}
@keyframes cookieModalPop {
  from { transform: scale(0.93); opacity: 0.4; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 { margin-bottom: 0.7em; font-size: 1.38rem; color: var(--secondary); }
.cookie-modal .category {
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 13px;
}
.cookie-modal .category strong {
  margin-right: 10px;
  font-size: 1rem;
  min-width: 110px;
  color: var(--primary);
  font-weight: 700;
}
.cookie-modal .cookie-toggle {
  width: 40px;
  height: 22px;
  border-radius: 11px;
  border: 1px solid #dadada;
  background: #ececec;
  position: relative;
  transition: background 0.16s;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}
.cookie-modal .cookie-toggle input {
  display: none;
}
.cookie-modal .cookie-toggle:after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--secondary);
  position: absolute;
  top: 1px;
  left: 1px;
  transition: left 0.16s, background 0.13s;
}
.cookie-modal .cookie-toggle.enabled:after {
  left: 20px;
  background: var(--accent);
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  border: none;
  background: none;
  color: var(--primary);
  font-size: 1.8rem;
  cursor: pointer;
  border-radius: 8px;
  padding: 3px 6px;
}
.cookie-modal .cookie-modal-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 7px;
}
.cookie-modal .cookie-btn {
  font-size: 1.02rem;
  padding: 9px 19px;
  margin: 0 3px;
}

/* RESPONSIVE: Mobile-First Flex Adjustments */
@media (max-width: 1050px) {
  .footer-nav, footer .container { gap: 16px; }
  .feature-grid { gap: 14px; }
}
@media (max-width: 860px) {
  .container { padding: 0 8px; }
  .feature-grid { gap: 11px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  .feature-grid,
  .card-container,
  .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .section { padding: 28px 8px; }
  .hero { padding: 33px 0 22px 0; border-radius: 0 0 24px 24px; }
  footer .container {
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
  }
  .footer-logo, .footer-nav, .footer-contact {
    width: 100%;
    justify-content: flex-start;
    padding-left: 0;
    margin-bottom: 10px;
  }
  .testimonial-card { flex-direction: column; gap: 9px; align-items: flex-start; }
  .text-image-section {
    flex-direction: column !important;
    gap: 18px;
    align-items: flex-start;
  }
  .content-wrapper { gap: 20px; }
}

@media (max-width: 420px) {
  .cookie-modal { min-width: 98vw; padding: 23px 4vw; }
  .cookie-banner { padding: 12px 4px 18px 4px; gap: 12px; }
}

/* Miscellaneous Utility Styles */
ul, ol {
  margin-left: 17px;
  margin-bottom: 9px;
}
ul li, ol li { margin-bottom: 7px; }
strong { color: var(--secondary); font-weight: 700; }

address { font-style: normal; color: var(--primary); font-size: 1rem; margin-top: 10px; }
address img { width: 18px; height: 18px; vertical-align: middle; margin-right: 6px; }

/* Playful accents, energetic feel */
.section::before {
  content: '';
  display: block;
  width: 34px;
  height: 6px;
  background: var(--accent);
  border-radius: 8px;
  margin-bottom: 10px;
  margin-left: 0;
  opacity: 0.85;
}
.features .feature-grid .feature-item {
  border-top: 5px dashed var(--accent);
  box-shadow: 0 4px 9px rgba(255,211,0,0.07);
  position: relative;
  overflow: visible;
}
.features .feature-grid .feature-item::after {
  content: '';
  position: absolute;
  top: 3px; right: -17px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.16;
}

/* Animated underline on main nav */
.main-nav a {
  position: relative;
  overflow: hidden;
}
.main-nav a::after {
  content: '';
  display: block;
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 2.5px;
  height: 4px;
  background: var(--accent);
  border-radius: 3px;
  transform: scaleX(0);
  transition: transform 0.17s;
  opacity: 0.7;
}
.main-nav a:hover::after, .main-nav a.active::after {
  transform: scaleX(1);
}

/* Form Inputs */
input[type='text'],
input[type='email'],
input[type='search'],
input[type='tel'],
textarea {
  font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid #d7e4fa;
  border-radius: 11px;
  outline: none;
  box-shadow: 0 1px 5px rgba(62,124,177,0.06);
  background: #fff;
  margin-bottom: 12px;
  width: 100%;
  transition: border 0.12s, box-shadow 0.15s;
}
input[type='text']:focus,
input[type='email']:focus,
input[type='search']:focus,
input[type='tel']:focus,
textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 3px 20px rgba(62,124,177,0.14);
}

/* Links styling inside card/list */
.feature-item a, .blog-categories a, .faq-list a, .content-wrapper a:not(.cta-btn) {
  color: var(--accent);
  font-weight: 800;
  transition: color 0.1s, text-decoration 0.15s;
  text-decoration: underline dotted var(--secondary) 2px;
}
.feature-item a:hover, .blog-categories a:hover, .faq-list a:hover {
  color: var(--secondary);
  text-decoration: underline solid var(--accent) 2px;
}

/* Animations for playful/dynamic effect */
.cta-btn {
  position: relative;
  animation: ctaWiggle 3s infinite alternate cubic-bezier(0.72,0.04,0.3,0.9);
}
@keyframes ctaWiggle {
  0% { transform: rotate(-2deg) scale(1); }
  3% { transform: rotate(3deg) scale(1.03); }
  6% { transform: rotate(-1.7deg) scale(1.01); }
  10% { transform: rotate(1.6deg) scale(1.025); }
  100% { transform: rotate(0) scale(1); }
}

/* --- END CSS --- */
