/* ----------------- CSS RESET & NORMALIZE ------------------ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body {
  height: 100%;
}
body {
  min-height: 100vh;
  background: #FFF;
  color: #182537;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background-color: #f6fafd;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #0A223A;
  text-decoration: none;
  transition: color .2s;
}
a:hover, a:focus {
  color: #F3B546;
  outline: none;
}
ul, ol {
  padding-left: 1.3em;
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 0.5em;
}
button {
  font-family: inherit;
  font-size: 1em;
  border: none;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: background .18s, box-shadow .18s, color .18s;
}
:focus {
  outline: 2px solid #F3B546;
  outline-offset: 2px;
}

/* ----------------- BRANDING ------------------ */
:root {
  --primary: #0A223A;
  --secondary: #E5E5E5;
  --accent: #F3B546;
  --brand-bg: #FFFAE5;
  --pink: #FF6492;
  --blue: #2CA5F3;
  --mint: #57D9A3;
  --magenta: #B64AC2;
  --brandgrey: #f6fafd;
  --border-radius: 24px;
  --card-shadow: 0 4px 24px rgba(10,34,58,0.06), 0 1.5px 6px rgba(243,181,70,0.05);
  --card-hover-shadow: 0 8px 32px rgba(10,34,58,0.16), 0 8px 20px rgba(243,181,70,0.10);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  color: #0A223A;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
  line-height: 1.1;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  h3 { font-size: 1.45rem; }
}

p, ul, ol {
  font-size: 1rem;
  color: #182537;
  margin-bottom: 16px;
}
strong {
  color: #0A223A;
}

/* ----------------- GENERAL LAYOUT ------------------ */
.container {
  width: 95%;
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: var(--border-radius);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #FFF;
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  box-shadow: var(--card-shadow);
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card:hover {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-6px) 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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
  }
}
.text-section {
  margin-bottom: 40px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  border-radius: var(--border-radius);
  background: #fffbe8;
  box-shadow: 0 2px 12px rgba(10,34,58,0.08);
  padding: 20px;
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 240px;
  position: relative;
  border-left: 7px solid var(--accent);
  color: #192436;
}
.testimonial-card p {
  font-size: 1.1em;
  color: #182537;
}
.testimonial-card strong {
  font-size: 1em;
  color: #0A223A;
}

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

/* -------------------------- HEADER & NAV -------------------------- */
header {
  width: 100%;
  padding: 24px 20px;
  background: #FFF;
  box-shadow: 0 1px 12px rgba(10,34,58,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}
header > a img {
  height: 48px;
  margin-right: 22px;
  border-radius: 9px;
  background: transparent;
  box-shadow: 0 2px 5px rgba(243,181,70,0.08) inset;
  transition: box-shadow .22s;
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.cta-btn.primary {
  margin-left: 28px;
}
@media (max-width: 900px) {
  nav {
    gap: 12px;
  }
  header > a img {
    height: 38px;
    margin-right: 9px;
  }
  .cta-btn.primary {
    margin-left: 10px;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .cta-btn.primary {
    display: none;
  }
  header {
    justify-content: flex-start;
  }
}

/* ------------- MOBILE MENU ------------- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 32px;
  top: 28px;
  background: var(--accent);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 2px 6px rgba(10,34,58,0.12);
  z-index: 30;
  border: 2px solid #FFE5B6;
  transition: background 0.18s, color 0.18s;
}
.mobile-menu-toggle:active,
.mobile-menu-toggle:hover {
  background: #ffd67b;
  color: #0A223A;
}
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F3B546;
  color: #0A223A;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .54s cubic-bezier(0.66,1.01,0.46,0.97);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 24px 24px 0 0;
  background: #fff;
  color: #F3B546;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 2rem;
  transition: background .2s, color .2s;
  border: 2px solid #FFE5B6;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #ffd67b;
  color: #0A223A;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 40px;
  gap: 16px;
  align-items: flex-start;
  padding-left: 40px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0A223A;
  margin-bottom: 14px;
  padding: 10px 0;
  border-radius: 6px;
  width: 85vw;
  display: flex;
  align-items: center;
  transition: background .17s, color .17s;
}
.mobile-nav a:hover,
.mobile-nav a:focus {
  background: #fffbe8;
  color: #F3B546;
}
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* ----------------- HERO SECTION ---------------------- */
.hero {
  background: linear-gradient(90deg, #F3B546 30%, #FF6492 100%);
  border-radius: var(--border-radius);
  box-shadow: 0 6px 32px rgba(10,34,58,0.13), 0 1px 0 #FFE5B6 inset;
  margin-bottom: 50px;
  min-height: 252px;
  display: flex;
  align-items: stretch;
}
.hero .container {
  display: flex;
  align-items: center;
  min-height: 260px;
  justify-content: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  color: #0A223A;
  gap: 10px;
}
.hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2rem;
  background: none;
  color: #0A223A;
}
.hero p {
  color: #1f3358;
  font-size: 1.25rem;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5;
  margin-bottom: 18px;
}
.hero .cta-btn {
  background: #fff;
  color: #F3B546;
  font-weight: 700;
  font-size: 1.12rem;
  padding: 15px 38px;
  border-radius: 80px;
  box-shadow: 0 4px 20px rgba(255,255,255,0.08);
  margin-top: 15px;
  transition: background .22s, color .22s, box-shadow .22s;
}
.hero .cta-btn:hover,
.hero .cta-btn:focus {
  background: #ffe3aa;
  color: #0A223A;
  box-shadow: 0 6px 28px rgba(243,181,70,0.15);
}
@media (min-width: 600px) {
  .hero h1 { font-size: 2.7rem; }
}
@media (min-width: 950px) {
  .hero .container {
    min-height: 320px; 
  }
}
@media (max-width: 600px) {
  .hero { border-radius: 0 0 36px 36px; }
}

/* ------------- FEATURES / SERVICES / CARDS ------------------- */
.features .content-wrapper,
.services .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.feature {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 20px 18px 26px 18px;
  box-shadow: var(--card-shadow);
  flex: 1 1 225px;
  min-width: 220px;
  text-align: left;
  transition: box-shadow 0.22s, transform 0.16s;
  position: relative;
  margin-bottom: 20px;
  overflow: visible;
}
.feature img {
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  border-radius: 14px 14px 22px 4px;
  background: var(--pink);
  box-shadow: 0 2px 14px rgba(255,100,146,0.08);
  transition: transform .25s;
  display: block;
  position: relative;
}
.feature h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 8px;
}
.feature p {
  color: #374760;
}
.feature:hover, .feature:focus-within {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-6px) scale(1.04) rotate(-1deg);
  background: #FFFAE5;
}
.feature:hover img, .feature:focus-within img {
  animation: playful-bounce 0.7s;
}
@keyframes playful-bounce {
  0%   { transform: translateY(0); }
  40%  { transform: scale(1.18) translateY(-10px) rotate(-7deg); }
  70%  { transform: scale(0.97) translateY(7px) rotate(7deg); }
  100% { transform: translateY(0) scale(1) rotate(0deg); }
}
@media (max-width: 990px) {
  .feature-grid { gap: 16px; }
  .feature { min-width: 194px; }
}
@media (max-width: 700px) {
  .feature-grid { flex-direction: column; }
  .feature {
    margin-bottom: 0;
    min-width: 0;
    width: 98%;
  }
}

/* ------------- CTA SECTION ------------- */
.cta {
  background: #2CA5F3;
  border-radius: var(--border-radius);
  margin-bottom: 60px;
  box-shadow: 0 3px 26px rgba(44,165,243,0.10);
  color: #fff;
}
.cta .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 8px;
}
.cta h2 {
  color: #fff;
  margin-bottom: 7px;
}
.cta .cta-btn {
  background: #fff;
  color: #2CA5F3!important;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.06em;
  border-radius: 80px;
  margin-top: 15px;
  padding: 12px 38px;
  transition: background .2s, color .2s;
  box-shadow: 0 2px 14px rgba(44,165,243,.12);
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #F3B546;
  color: #fff;
}
@media (max-width: 800px) {
  .cta { border-radius: 20px; }
}

/* ------------- TESTIMONIALS ------------- */
.testimonials .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
}

/* ------------- FOOTER ------------- */
footer {
  background: #0A223A;
  color: #fff;
  border-radius: 40px 40px 0 0;
  padding: 38px 20px 28px 20px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
  font-size: 1.07em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 14px;
  justify-content: center;
}
.footer-nav a {
  color: #F3B546;
  font-size: 1em;
  transition: color 0.18s;
  border-radius: 4px;
  padding: 4px 7px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  background: #f1b13b6b;
}
.footer-info {
  text-align: center;
  color: #E5E5E5;
  font-size: 1em;
}
.footer-info p{
  color: white
}

@media (max-width: 700px) {
  footer { border-radius: 24px 24px 0 0; }
  .footer-nav { gap: 10px; }
}

/* ------------- BUTTONS & CTAs ------------- */
.cta-btn, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff !important;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.11em;
  border-radius: 80px;
  padding: 14px 36px;
  margin-top: 7px;
  min-height: 48px;
  letter-spacing: 0.02em;
  border: none;
  box-shadow: 0 3px 16px rgba(243,181,70,0.11);
  transition: background .18s, color .18s, box-shadow .18s;
  cursor: pointer;
}
.cta-btn.primary {
  background: var(--primary);
  color: #F3B546 !important;
  font-weight: 800;
}
.cta-btn.primary:hover, .cta-btn.primary:focus {
  background: #161d2b;
  color: #F3B546 !important;
}
.cta-btn:hover, .cta-btn:focus, .btn:hover, .btn:focus {
  background: var(--pink);
  color: #fff !important;
  box-shadow: 0 5px 18px rgba(255,100,146,0.14);
  transform: scale(1.045) rotate(-2deg);
}

/* ------------- SPECIAL TYPO, SPACING & HIERARCHY ------------- */
.text-section h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}
.text-section p, .text-section li {
  font-size: 1.05em;
  margin-bottom: 10px;
}
.text-section ul, .text-section ol {
  margin-bottom: 10px;
}

/* ------------- SPACING HELPERS FOR FLEX LAYOUTS ------------- */
.features, .services, .about, .testimonials, .cta, .contact {
  margin-bottom: 60px;
}
.content-wrapper {
  gap: 18px;
}
.card,
.feature,
.feature-item,
.testimonial-card {
  margin-bottom: 20px;
}
@media (max-width: 900px) {
  .section, .features, .services, .about, .testimonials, .cta, .contact {
    padding: 32px 5px 16px 5px;
    margin-bottom: 36px;
  }
}

/* --- Micro-interactions: subtle float effect for fun --- */
.feature, .card, .testimonial-card {
  transition: transform 0.24s cubic-bezier(0.6,0,0.2,1), box-shadow 0.21s;
}
.feature:hover, .card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px rgba(44,165,243,0.11), 0 2px 6px rgba(255,100,146,0.06);
  transform: translateY(-3px) scale(1.025) rotate(-2.5deg);
}

/* --- Fun dots: playful background for playful_dynamic aesthetic --- */
.section::before {
  content: '';
  position: absolute;
  left: 1.2em;
  top: 0.7em;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F3B546 55%, #FF6492 100%);
  filter: blur(1px);
  opacity: 0.14;
  z-index: 0;
  pointer-events: none;
}
@media (max-width: 600px) {
  .section::before { display: none; }
}

/* -------------- COOKIE BANNER -------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  width: 100vw;
  z-index: 10050;
  background: #0A223A;
  color: #fff;
  font-size: 1.07em;
  padding: 26px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 -2px 14px rgba(10,34,58,.17);
  align-items: center;
  transition: transform .48s cubic-bezier(.65,.01,.42,.97), opacity .33s;
  border-radius: 22px 22px 0 0;
}
.cookie-banner.hide {
  transform: translateY(130%);
  opacity: 0;
}
.cookie-banner .cookie-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 5px;
}
.cookie-banner button,
.cookie-banner .btn-cookie {
  background: #F3B546;
  color: #0A223A;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  font-weight: 700;
  border-radius: 33px;
  padding: 11px 27px;
  margin: 2px 8px 2px 0;
  box-shadow: 0 2px 9px rgba(243,181,70,0.08);
  border: none;
  transition: background .16s, color .16s;
}
.cookie-banner button.accept {
  background: #57D9A3;
  color: #0A223A;
}
.cookie-banner button.accept:hover {
  background: #41ca90;
}
.cookie-banner button.reject {
  background: #FF6492;
  color: #fff;
}
.cookie-banner button.reject:hover {
  background: #ff8fb8;
  color: #0A223A;
}
.cookie-banner button.settings {
  background: #fff;
  color: #0A223A;
  border: 2px solid #F3B546;
}
.cookie-banner button.settings:hover {
  background: #ffe3aa;
  color: #F3B546;
}

/* ------ Cookie Modal ------ */
.cookie-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 10400;
  transform: translate(-50%,-60%);
  background: #FFF;
  border-radius: 24px;
  box-shadow: 0 5px 52px rgba(10,34,58,0.27);
  width: 95vw;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 24px 24px;
  opacity: 1;
  transition: transform .48s, opacity .45s;
}
.cookie-modal.hide {
  opacity: 0;
  transform: translate(-50%, -45%);
  pointer-events: none;
}
.cookie-modal h2 {
  font-size: 1.52em;
  margin-bottom: 12px;
  color: #F3B546;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 22px;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1em;
}
.cookie-modal .toggle {
  width: 45px;
  height: 26px;
  background: #E5E5E5;
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: background .18s;
  display: inline-block;
}
.cookie-modal .toggle[data-checked="true"] {
  background: #F3B546;
}
.cookie-modal .toggle:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(10,34,58,0.12);
  transition: left .24s;
}
.cookie-modal .toggle[data-checked="true"]:before {
  left: 22px;
}
.category.essential .toggle {
  background: #57D9A3;
  pointer-events: none;
}
.category.essential span {
  color: #0A223A;
  font-weight: 700;
}
.cookie-modal .cookie-modal-btns {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 9px;
}
.cookie-modal .btn-cookie-save {
  background: #F3B546;
  color: #0A223A;
  padding: 10px 28px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1em;
}
.cookie-modal .btn-cookie-cancel {
  background: #E5E5E5;
  color: #727272;
  padding: 10px 18px;
  border-radius: 22px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  border: none;
}
.cookie-modal .btn-cookie-save:hover {
  background: #ffd67b;
  color: #0A223A;
}
.cookie-modal .btn-cookie-cancel:hover {
  background: #FF6492;
  color: #fff;
}

/* -------------- RESPONSIVE ------------------- */
@media (max-width: 1200px) {
  .container { max-width: 95vw; }
}
@media (max-width: 600px) {
  html, body { font-size: 15px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.38rem; }
  h3 { font-size: 1.09rem; }
  .section, .features, .services, .about, .testimonials, .cta {
    padding: 18px 6px;
    margin-bottom: 22px;
    border-radius: 10px;
  }
  .hero { border-radius: 0 0 20px 20px; min-height: 150px; }
  .cookie-banner {
    font-size: 1em;
    padding: 18px 8px; 
  }
  .cookie-modal {
    padding: 17px 9px;
    max-width: 96vw;
  }
  .footer-nav { flex-direction: column; align-items: center; }
  .footer-nav a { margin-bottom: 7px; }
}

/* ----------- UTILITIES, ANIMATIONS, PLAYFUL DYNAMIC TOUCHES ------------ */
@keyframes shine {
  0% { background-position-x: -120px; }
  40% { background-position-x: 210px; }
  100% { background-position-x: 240px; }
}
.cta-btn, .btn, .cookie-banner .btn-cookie {
  animation: shine-btn .72s linear 2 both running;
}
@keyframes shine-btn {
  11% { box-shadow: 0 0 0 rgba(255,255,255,.00); }
  45% { box-shadow: 0 8px 36px rgba(243,181,70,.25); }
  80% { box-shadow: 0 8px 42px rgba(255,100,146,.16); }
  100% { box-shadow: 0 3px 16px rgba(243,181,70,0.09); }
}

/* Floating decorative elements for playfulness */
@media (min-width: 701px) {
  .section::after {
    content: '';
    position: absolute;
    right: 2.6em;
    bottom: 1.2em;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: linear-gradient(115deg, #57D9A3 54%, #FF6492 100%);
    filter: blur(1px);
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
  }
}

/* Fun font tweaks for headings */
h1, h2 {
  letter-spacing: 0.04em;
}
h2, h3 {
  font-style: italic;
}

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