/* RESET & BASE STYLES */
:root {
  --primary: #16224A;
  --secondary: #5FC0C2;
  --accent: #F7F7F2;
  --fun1: #F46B45;
  --fun2: #FFC93C;
  --fun3: #8D5BF7;
  --danger: #F25260;
  --success: #53DBB8;
  --shadow: 0 4px 24px 0 rgba(22,34,74,0.10);
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 8px;
}

html {
  box-sizing: border-box;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--accent);
}
*, *::before, *::after { box-sizing: inherit; margin:0; padding:0; }
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  color: var(--primary);
  background: var(--accent);
  min-height: 100vh;
  line-height: 1.62;
  font-size: 1rem;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--fun1); text-decoration: none; transition: color 0.15s; }
a:hover, a:focus { color: var(--fun2); }
ul, ol { margin-bottom: 24px; padding-left: 26px; }
li + li { margin-top: 8px; }

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Arial Rounded MT Bold', Arial, sans-serif;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.16;
  letter-spacing: 0.02em;
}
h1 { font-size: 2.5rem; margin-bottom: 18px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 8px; }
p, .text-section p {
  margin-bottom: 18px;
  font-size: 1.13rem;
  color: var(--primary);
}
.text-section {
  text-align: left;
}

/* CONTAINER & SPACING */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 18px;
  padding-right: 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.section { margin-bottom: 60px; padding: 40px 20px; }
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow); }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: bold;
  color: var(--fun3);
}
.usp-list { list-style: disc var(--secondary); padding-left: 24px; }

/* HEADER NAVIGATION */
header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--accent);
  box-shadow: 0 2px 10px 0 rgba(22,34,74,0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  height: 80px;
}
.logo { display: flex; align-items: center; margin-left: 10px; }
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--primary);
  border-radius: var(--radius-sm);
  padding: 8px 13px;
  transition: background 0.14s, color 0.14s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--fun2);
  color: var(--primary);
}
.cta-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  background: var(--fun1);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.18s, transform 0.17s;
  margin-left: 20px;
  box-shadow: var(--shadow);
  outline: none;
  letter-spacing: 0.03em;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--fun2);
  color: var(--primary);
  transform: scale(1.06) rotate(-2deg);
}
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--fun1);
  margin-left: 18px;
  cursor: pointer;
  z-index: 120;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus { color: var(--fun2); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--accent);
  z-index: 110;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(0.55,0,0.1,1);
  box-shadow: 0 0 20px 0 rgba(22,34,74,0.10);
  padding: 24px;
  gap: 26px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--fun1);
  cursor: pointer;
  transition: color 0.16s;
  margin-bottom: 8px;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--fun2); }
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: flex-start;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 1.27rem;
  color: var(--primary);
  padding: 10px 0;
  border-radius: var(--radius-md);
  transition: background 0.16s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--fun2);
  color: var(--primary);
  padding-left: 10px;
}

/* HERO SECTIONS */
.hero {
  background: var(--fun2);
  background-blend-mode: multiply;
  min-height: 270px;
  display: flex;
  align-items: center;
  position: relative;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  margin-bottom: 38px;
  overflow: hidden;
  animation: heroPop 0.7s both;
}
@keyframes heroPop {
  from { opacity: 0; transform: scale(0.98) translateY(36px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.hero .container { padding-top: 40px; padding-bottom: 40px; }
.hero h1 { color: var(--primary); font-size: 2.5rem; text-shadow: 0 2px 0 rgba(255,255,255,0.09); }
.hero p { margin-bottom: 28px; font-size: 1.15rem; color: var(--primary); max-width: 540px; }

/* SECTIONS */
.accent-bg {
  background: var(--secondary);
  border-radius: var(--radius-lg);
  color: var(--primary);
  margin-bottom: 60px;
  box-shadow: var(--shadow);
}
.secondary-bg {
  background: #fff;
  border-radius: var(--radius-lg);
  margin-bottom: 60px;
  box-shadow: var(--shadow);
}
.features {
  padding: 60px 0;
}
.resources { padding: 36px 0 54px 0; }
.cta {
  margin-bottom: 60px;
  padding: 48px 0;
  background: var(--fun3);
  color: #fff;
  border-radius: var(--radius-lg);
  text-align: center;
  animation: pulseBg 6s infinite cubic-bezier(0.1,1,0.83,1) alternate;
}
@keyframes pulseBg {
  0% { background: var(--fun3); }
  97% { background: var(--fun3); }
  100% { background: #5FC0C2; }
}
.cta h2, .cta p { color: #fff; }
.cta .cta-btn {
  background: #fff;
  color: var(--fun3);
  box-shadow: var(--shadow);
  transition: background 0.17s, color 0.17s, transform 0.14s;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: var(--fun1);
  color: #fff;
  transform: scale(1.05) rotate(1deg);
}

/* FEATURE GRID */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-bottom: 36px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 24px 22px;
  font-size: 1rem;
  flex: 1 1 180px;
  min-width: 230px;
  max-width: 340px;
  position: relative;
  animation: floatIn 0.8s cubic-bezier(0.2,0.8,0.2,1) both;
  transition: transform 0.15s, box-shadow 0.18s;
}
.feature-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 8px;
  filter: drop-shadow(2px 4px 0 #FFC93C);
  animation: waveAnim 2.5s infinite alternate cubic-bezier(.6,.1,.65,0.7);
}
@keyframes waveAnim {
  0% { transform: rotate(-8deg) scale(0.98); }
  100% { transform: rotate(8deg) scale(1.03); }
}
.feature-item:hover, .feature-item:focus {
  transform: translateY(-8px) scale(1.03) rotate(-1deg);
  box-shadow: 0 8px 32px rgba(22,34,74,0.12);
  z-index: 4;
  background: var(--accent);
}
.feature-item h3 {
  font-size: 1.18rem;
  color: var(--fun1);
}
.feature-item p { color: var(--primary); }

/* TESTIMONIALS */
.testimonials {
  padding: 54px 0 40px 0;
}
.testimonials h2 {
  color: var(--fun3);
  margin-bottom: 32px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 28px 22px 20px 22px;
  margin-bottom: 20px;
  min-width: 220px;
  max-width: 540px;
  position: relative;
  animation: bounceIn 0.82s cubic-bezier(0.2,0.65,0.3,1.1) both;
  border-left: 6px solid var(--fun1);
}
@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.96) translateY(35px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.testimonial-card p {
  font-size: 1.08rem;
  color: var(--primary);
  margin-bottom: 14px;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.97rem;
  color: var(--primary);
  font-weight: bold;
}
.testimonial-meta span {
  margin-left: 8px;
  color: var(--fun3);
  font-size: 1.06rem;
  letter-spacing: 1.2px;
}

/* CARD & GUIDE LISTS */
.guide-list, .expert-tips ul, .leadership-brief ul {
  padding-left: 22px;
  margin-bottom: 16px;
}
.guide-list li, .expert-tips ul li, .leadership-brief ul li {
  margin-bottom: 8px;
  color: var(--primary);
  font-size: 1.06rem;
  line-height: 1.53;
  border-left: 3px solid var(--fun2);
  padding-left: 8px;
}
.guide-overview ul { padding-left: 20px; }
.success-stories-overview ul { padding-left: 18px; }

/* CONTACT SECTION */
.contact-section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.address-phone-email {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}
.address-phone-email div {
  font-size: 1.12rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-form-info {
  background: var(--secondary);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow);
  color: var(--primary);
}
.contact-form-info h3 { margin-bottom: 10px; }
.location-map-embed {
  background: var(--accent);
  padding: 18px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 12px 0 rgba(22,34,74,0.05);
  font-size: 1.03rem;
  color: var(--primary);
}

/* LEGAL PAGE STYLES */
.legal-section {
  padding: 44px 0 60px 0;
  margin-bottom: 0;
}
.legal-section h1 { color: var(--fun3); font-size: 2.2rem; }
.legal-section h2 { color: var(--fun1); font-size: 1.4rem; }
.legal-section h3 { color: var(--fun2); font-weight: 700; font-size: 1.1rem; margin-top: 14px; }

/* THANK YOU PAGE */
.thankyou .text-section {
  text-align: center;
  margin: 0 auto;
  max-width: 650px;
}
.thankyou .cta-btn {
  margin-top: 20px;
}

/* FOOTER */
footer {
  width: 100%;
  background: var(--primary);
  color: #fff;
  font-family: 'Roboto', Arial, sans-serif;
  padding: 38px 0 20px 0;
  font-size: 0.99rem;
  box-shadow: 0 -4px 18px rgba(22,34,74,0.06);
}
.footer-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.footer-logo img {
  width: 140px;
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 4px;
}
.footer-nav a {
  color: var(--secondary);
  font-weight: 700;
  transition: color 0.14s;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.03rem;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--fun2); }
.footer-contact {
  color: #fff;
  opacity: 0.93;
  text-align: center;
}
.footer-credit {
  color: #c1c7d5;
  font-size: 0.94rem;
  margin-top: 10px;
}

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--fun3);
  color: #fff;
  padding: 22px 18px 22px 18px;
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -4px 26px rgba(22,34,74,0.13);
  gap: 14px;
  animation: slideUpBanner 0.7s cubic-bezier(.4,1.4,.6,1) both;
}
@keyframes slideUpBanner {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-actions {
  display: flex;
  gap: 16px;
  margin-top: 3px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 9px 19px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  margin: 0;
  background: #fff;
  color: var(--fun3);
  box-shadow: 0 2px 8px rgba(22,34,74,0.11);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.cookie-btn:hover, .cookie-btn:focus { background: var(--fun2); color: var(--primary); transform: scale(1.05); }
.cookie-btn.accept { background: var(--success); color: var(--primary); }
.cookie-btn.reject { background: var(--danger); color: #fff; }
.cookie-btn.settings { background: var(--fun1); color: #fff; }

.cookie-modal-backdrop {
  display: none;
  position: fixed;
  z-index: 900;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(16,20,44,0.32);
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.18s both;
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  max-width: 400px;
  width: 92%;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 56px 0 rgba(22,34,74,0.13);
  color: var(--primary);
  padding: 34px 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: popIn 0.4s cubic-bezier(0.2,1.05,0.22,1.0) both;
  position: relative;
}
@keyframes popIn {
  from { transform: scale(0.93); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 { font-family: 'Montserrat', Arial, sans-serif; font-size: 1.3rem; color: var(--fun3); margin-bottom: 9px; }
.cookie-modal .modal-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  padding: 7px 0;
}
.cookie-modal .modal-category label {
  font-weight: bold;
  font-size: 1.04rem;
}
.cookie-modal .toggle-switch {
  width: 46px;
  height: 25px;
  background: var(--accent);
  border-radius: 22px;
  position: relative;
  cursor: pointer;
  transition: background 0.18s;
  border: 2px solid var(--fun3);
  margin-left: 12px;
}
.cookie-modal .toggle-switch input { display: none; }
.cookie-modal .toggle-switch .slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: var(--fun3);
  transition: left 0.19s, background 0.13s;
}
.cookie-modal .toggle-switch input:checked + .slider {
  left: 21px; background: var(--fun1);
}
.cookie-modal .toggle-switch[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}
.cookie-modal .modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 8px;
}
.cookie-modal .modal-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--fun1);
  font-size: 1.7rem;
  cursor: pointer;
  transition: color 0.12s;
  line-height: 1;
}
.cookie-modal .modal-close-btn:hover, .cookie-modal .modal-close-btn:focus {
  color: var(--danger);
}

/* MICRO-INTERACTIONS */
.feature-item, .cta-btn, .cookie-btn, .main-nav a, .mobile-nav a, .testimonial-card {
  transition: box-shadow 0.18s, transform 0.17s, background 0.16s, color 0.16s;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1100px) {
  .feature-grid { justify-content: flex-start; gap: 16px; }
  .feature-item { min-width: 200px; max-width: 310px; }
  .container { padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 900px) {
  .hero { min-height: 180px; }
  .feature-grid { gap: 12px; }
  .feature-item { min-width: 180px; }
  .footer-logo img { width: 115px; }
}
@media (max-width: 768px) {
  html { font-size: 15px; }
  header { flex-wrap: wrap; height: auto; min-height: 60px; padding: 8px 0 8px 0; }
  .main-nav { display: none; }
  .cta-btn { margin-left: 0; }
  .mobile-menu-toggle { display: block; }
  .container { padding: 0 6px; }
  .hero .container { padding-top: 28px; padding-bottom: 28px; }
  .section, .features, .about, .contact-section, .resources, .cta { padding-left: 10px; padding-right: 10px; }
  .feature-grid, .card-container, .content-grid {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  .testimonials .content-wrapper, .about .content-wrapper, .features .content-wrapper, .resources .content-wrapper { gap: 20px; }
  .testimonial-card { max-width: 100%; }
  .text-image-section { flex-direction: column; gap: 18px; align-items: stretch; }
  .footer-wrapper { gap: 16px; }
  .usp-list { padding-left: 18px; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.25rem; }
  h3 { font-size: 1.08rem; }
  .footer-logo img { width: 75px; }
  .cta { padding: 29px 0; }
  .contact-section, .legal-section { padding: 24px 0; }
}

/* SCROLLBAR */
body {
  scrollbar-width: thin;
  scrollbar-color: var(--fun3) var(--accent);
}
body::-webkit-scrollbar {
  width: 8px;
}
body::-webkit-scrollbar-thumb {
  background: var(--fun3);
  border-radius: 6px;
}

/* ANIMATED DECORATIVE BUBBLES (optional, playful feel) */
@media (min-width: 900px) {
  .hero::after {
    content: "";
    position: absolute;
    top: 13%;
    right: 5%;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: var(--fun3);
    opacity: .14;
    z-index: 0;
    animation: floatingBubble 4.2s infinite alternate cubic-bezier(.2,.7,.4,.8);
    pointer-events: none;
  }
}
@keyframes floatingBubble {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(36px) scale(1.12); }
}

/* FOCUS STATES & ACCESSIBILITY */
a:focus, .cta-btn:focus, .mobile-nav a:focus, .main-nav a:focus, .cookie-btn:focus {
  outline: 2px solid var(--fun2);
  outline-offset: 2px;
  background: var(--fun2);
  color: var(--primary);
}

/* UTILITY */
.hide { display: none !important; }
