/* RESET & BASE STYLES */
html {
  box-sizing: border-box;
  font-size: 16px;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  color: #1E375A;
  background-color: #F3F3F3;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  position: relative;
  animation: bodyFadeIn 1.4s cubic-bezier(.7, .2, .18, 1.02);
}
@keyframes bodyFadeIn {
  0% { opacity:0; }
  100% { opacity:1; }
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
ul, ol {
  margin-left: 1.3em;
  margin-bottom: 1em;
}
li {
  margin-bottom: 0.7em;
}
table {
  border-collapse: collapse;
  width: 100%;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 20px 3px #1e375a0f;
  overflow: hidden;
  margin-bottom: 32px;
}
th, td {
  padding: 16px;
  border-bottom: 2px solid #F3F3F3;
  text-align: left;
  font-size: 1rem;
}
th {
  background: #C0AC6C;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}
tr:last-child td {
  border-bottom: none;
}
strong {
  font-weight: 700;
}

/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 24px 3px #1e375a12;
  padding: 40px 24px;
  margin-bottom: 40px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.feature-grid, .feature-item, .footer-nav, .footer-contact, .main-nav, .mobile-nav, .card-container, .card-grid, .content-grid, .testimonial-card {
  display: flex;
}
.feature-grid {
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}
.card-container, .card-grid {
  flex-wrap: wrap;
  gap: 24px;
}
.content-grid {
  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;
}
.feature-item {
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 4px 16px 3px #1e375a11;
  transition: box-shadow .35s;
  padding: 24px;
  min-width: 250px;
  flex: 1 1 250px;
}
.card:hover {
  box-shadow: 0 12px 24px 3px #c0ac6c25;
  transform: translateY(-6px) scale(1.03);
  transition: box-shadow .35s, transform .25s;
  z-index: 1;
}
.text-section {
  margin-bottom: 24px;
}

/* TYPOGRAPHY (playful/dynamic with bright, fun feel) */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  color: #1E375A;
  line-height: 1.15;
  letter-spacing: 0.5px;
}
h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  color: #C0AC6C;
  text-shadow: 2px 2px 0 #ffed9c11;
  animation: h1pop 1s cubic-bezier(.4,.8,.21,1.1);
}
@keyframes h1pop {
  0% { transform: scale(.8) rotate(-2deg); opacity: .2; }
  80% { transform: scale(1.04) rotate(1deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); }
}
h2 {
  font-size: 1.65rem;
  margin-bottom: 18px;
  color: #1E375A;
  position: relative;
}
h2::after {
  content: '';
  display: block;
  width: 48px;
  height: 6px;
  background: #F5C23C;
  border-radius: 5px;
  position: absolute;
  left: 0;
  bottom: -8px;
  opacity: 0.55;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: #C0AC6C;
}
p {
  font-size: 1.06rem;
  margin-bottom: 14px;
  color: #222b36;
}
a {
  color: #1E375A;
  text-decoration: underline;
  transition: color .2s;
  font-weight: 500;
}
a:hover, a:focus {
  color: #fa39a0;
}

/* BUTTONS - playful styles, energetic interaction */
.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  font-size: 1.11rem;
  font-family: 'Montserrat', Arial, sans-serif;
  border-radius: 40px;
  background: #fa39a0;
  color: #fff !important;
  font-weight: 700;
  margin-top: 22px;
  letter-spacing: .02em;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px 3px #fa39a032;
  transition: background .3s, transform .2s, box-shadow .2s;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.cta-primary:hover, .cta-primary:focus {
  background: #1E375A;
  color: #fff !important;
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 8px 24px 3px #1e375a33;
}

/* MAIN NAV */
header {
  background: #fff;
  box-shadow: 0 3px 18px #c0ac6c0a;
  border-bottom: 3px solid #fa39a0;
  z-index: 1000;
  position: relative;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1E375A;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 30px;
  transition: background .2s, color .2s, transform .17s;
  padding: 9px 16px;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a:focus {
  background: #fa39a0;
  color: #fff;
  transform: scale(1.04) rotate(-1deg);
}
.main-nav .cta-primary {
  margin-left: 20px;
  font-size: 1.07rem;
}
.mobile-menu-toggle {
  background: #F5C23C;
  color: #1E375A;
  border: none;
  font-size: 2rem;
  padding: 7px 13px 5px 13px;
  border-radius: 50%;
  display: none;
  cursor: pointer;
  margin-left: 10px;
  transition: background .2s;
  z-index: 1201;
  position: relative;
}
.mobile-menu-toggle:hover {
  background: #fa39a0;
  color: #fff;
}

/* MOBILE MENU (slide animation) */
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: #1E375A;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 24px 24px 24px;
  z-index: 1400;
  transform: translateX(-100vw);
  transition: transform .45s cubic-bezier(.6,1.3,.24,1);
  box-shadow: 8px 0 32px #1E375A44;
}
.mobile-menu.active {
  transform: translateX(0);
  transition: transform .45s cubic-bezier(.6,1.3,.24,1);
}
.mobile-menu-close {
  background: none;
  color: #F5C23C;
  border: none;
  font-size: 2.5rem;
  align-self: flex-end;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color .2s;
  z-index: 1503;
}
.mobile-menu-close:hover {
  color: #fa39a0;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  gap: 13px;
  margin-top: 24px;
}
.mobile-nav a {
  font-size: 1.25rem;
  color: #F3F3F3;
  padding: 15px 0;
  font-family: 'Montserrat', Arial, sans-serif;
  border-bottom: 2px solid #fa39a040;
  width: 100%;
  text-decoration: none;
  border-radius: 6px;
  transition: background .22s, color .2s, transform .17s;
  min-width: 120px;
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #fa39a0;
  color: #fff;
  transform: scale(1.04);
}

/* HERO / WELCOME */
main > section:first-child .content-wrapper {
  background: linear-gradient(95deg, #f3f3f3 80%, #ffe588 100%);
  box-shadow: 0 12px 28px 1px #fa39a022;
  border-radius: 26px;
  text-align: center;
  animation: heroFadeIn 1.2s cubic-bezier(.68,.36,.69,1.03);
}
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(55px) scale(.95); }
  to { opacity: 1; transform: none; }
}
main > section:first-child .cta-primary {
  margin-top: 30px;
}

/* FEATURES */
.feature-grid > div {
  background: #fff9ef;
  border-radius: 20px;
  flex: 1 1 227px;
  min-width: 180px;
  align-items: flex-start;
  box-shadow: 0 3px 14px #fa39a019;
  padding: 28px 18px 22px 18px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  transition: box-shadow .22s, transform .22s;
}
.feature-grid > div:hover {
  box-shadow: 0 8px 24px #fa39a029;
  transform: translateY(-3px) scale(1.03) rotate(-1deg);
  z-index: 1;
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  filter: drop-shadow(0 4px 8px #fa39a028);
  background: #ffe8fb;
  border-radius: 50%;
  padding: 7px;
  animation: iconBounce .9s cubic-bezier(.5,2,.26,1.05);
}
@keyframes iconBounce {
  0% { transform: scale(.7) translateY(-10px) rotate(-4deg); }
  100% { transform: scale(1) translateY(0) rotate(0);
  }
}

/* TESTIMONIALS */
.testimonial-card {
  background: #fff;
  color: #222;
  border-radius: 22px;
  box-shadow: 0 4px 16px #c0ac6c33;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 410px;
  margin-right: 20px;
  padding: 28px 26px;
  align-items: flex-start;
  position: relative;
  transition: box-shadow .22s, transform .22s;
  border: 2px solid #F5C23C;
}
.testimonial-card:hover {
  box-shadow: 0 12px 24px #fa39a035;
  transform: scale(1.024);
}
.testimonial-card p {
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #1e375a;
}
.testimonial-card span {
  font-size: 0.97rem;
  font-weight: 700;
  color: #fa39a0;
  margin-bottom: 10px;
}
.testimonial-card div {
  display: flex;
  gap: 5px;
  margin-top: 8px;
}
.testimonial-card img[src*="icon-star"] {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 6px #fa39a022);
  animation: starWobble .7s ease;
}
@keyframes starWobble {
  from { transform: scale(.7) rotate(-7deg); }
  70% { transform: scale(1.14) rotate(7deg); }
  to { transform: scale(1) rotate(0deg); }
}

/* CARDS (general styling) */
.card {
  background: #fff8fe;
  border-radius: 18px;
  box-shadow: 0 3px 13px #c0ac6c1b;
  border: 2px solid #F5C23C;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* SECTION & CONTENT SPACING */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* TEXT-IMAGE LAYOUT */
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  width: 100%;
}

/* FOOTER */
footer {
  background: #1E375A;
  color: #fff;
  padding: 44px 0 24px 0;
  border-top: 5px solid #F5C23C;
  margin-top: 50px;
  font-size: 1rem;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  color: #F5C23C;
  font-weight: 700;
  transition: color .21s;
  text-decoration: underline;
}
.footer-nav a:hover, .footer-nav a:focus { color: #fa39a0; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 1rem;
}
.footer-contact img {
  width: 23px;
  height: 23px;
  margin-bottom: -5px;
  margin-right: 5px;
  display: inline-block;
  vertical-align: middle;
}

/* COOKIE CONSENT BANNER */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fff5e0;
  color: #1E375A;
  box-shadow: 0 -4px 18px #1e375a33;
  padding: 22px 18px 18px 18px;
  border-top: 3px solid #fa39a0;
  z-index: 1600;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
  font-size: 1rem;
  animation: cookieShow .9s cubic-bezier(.8,.2,.38,1.1);
}
@keyframes cookieShow {
  0% { transform: translateY(80px); opacity: 0; }
  80%{ transform: translateY(-6px); }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner p {
  margin: 0 10px 7px 0;
  flex: 3 1 200px;
}
.cookie-consent-banner .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 28px;
  padding: 10px 23px;
  margin-right: 8px;
  font-size: 1.04rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 5px;
  box-shadow: 0 2px 7px #c0ac6c18;
  transition: background .2s, color .2s, transform .15s;
}
.cookie-consent-banner .cookie-btn.accept {
  background: #fa39a0;
  color: #fff;
}
.cookie-consent-banner .cookie-btn.accept:hover {
  background: #1E375A;
}
.cookie-consent-banner .cookie-btn.reject {
  background: #F5C23C;
  color: #1E375A;
}
.cookie-consent-banner .cookie-btn.reject:hover {
  background: #fa39a0;
  color: #fff;
}
.cookie-consent-banner .cookie-btn.settings {
  background: #fff;
  border: 2px solid #C0AC6C;
  color: #C0AC6C;
  font-weight: 700;
}
.cookie-consent-banner .cookie-btn.settings:hover {
  border: 2px solid #fa39a0;
  color: #fa39a0;
}

/* COOKIE CONSENT MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1700;
  background: #1e375add;
  animation: cookieModalOverlayIn .38s cubic-bezier(.6,1.24,.48,1.18);
  display: flex;
  justify-content: center;
  align-items: center;
}
@keyframes cookieModalOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 36px #fa39a035;
  padding: 38px 22px 30px 22px;
  max-width: 98vw;
  width: 400px;
  color: #1e375a;
  position: relative;
  animation: cookieModalIn .3s cubic-bezier(.44,.02,.45,1.29);
}
@keyframes cookieModalIn {
  0% { transform: scale(.8) translateY(-24px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}
.cookie-modal h3 { color: #fa39a0; margin-bottom: 20px; font-size: 1.24rem; }
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin-bottom: 20px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 11px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #fa39a0;
  width: 20px;
  height: 20px;
}
.cookie-category.essential input {
  accent-color: #F5C23C;
}
.cookie-category label {
  font-size: 1.02rem;
  font-weight: 600;
  color: #1e375a;
}
.cookie-modal .cookie-btn.settings, .cookie-modal .cookie-btn.accept, .cookie-modal .cookie-btn.reject {
  margin-top: 15px;
}
.cookie-modal .cookie-close {
  background: none;
  border: none;
  color: #fa39a0;
  font-size: 2rem;
  position: absolute;
  top: 12px; right: 13px;
  cursor: pointer;
  transition: color .2s;
}
.cookie-modal .cookie-close:hover {
  color: #1e375a;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1080px) {
  .container { max-width: 97vw; }
  .content-wrapper { padding: 30px 10px; }
}
@media (max-width: 900px) {
  footer .container { flex-direction: column; gap: 16px; }
  .content-wrapper { padding: 24px 6px; }
  .footer-nav, .footer-contact { width: 100%; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.05rem; }
  body { font-size: .99rem; }
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block !important; }
  .feature-grid, .content-grid, .card-container, .card-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-grid > div {
    min-width: 100%;
    width: 100%;
  }
  .testimonial-card {
    min-width: 90vw;
    max-width: 99vw;
    margin-right: 0;
    padding: 15px 13px;
  }
  .section { padding: 19px 5px; margin-bottom: 36px; }
  .text-image-section { flex-direction: column; gap: 15px; align-items: center; }
  .content-wrapper { padding: 10px 3vw; }
  .footer-contact p, .footer-contact {
    font-size: .91rem;
  }
}
@media (max-width: 480px) {
  .container { padding-left: 3vw; padding-right: 3vw; }
  .cookie-modal { width: 98vw; padding: 20px 5px 18px 8px; }
  .cookie-consent-banner { font-size: .93rem; padding: 10px 3vw 8px 3vw; flex-direction: column; gap: 10px; }
}

/* SCROLLBAR (fun accent) */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-thumb { background: #fa39a0; border-radius: 20px; }
::-webkit-scrollbar-track { background: #fff9ef; }

/* MICRO-INTERACTIONS (playful bounce) */
.cta-primary:active {
  transform: scale(.95) rotate(-2deg);
}
.main-nav a:active, .mobile-nav a:active {
  transform: scale(.94) rotate(-2deg);
}

/* Z-INDEX LAYERING */
header, .mobile-menu, .mobile-menu-toggle { z-index: 1200; }
.cookie-consent-banner { z-index: 1600; }
.cookie-modal-overlay { z-index: 1700; }

/* FORM (for contact pages, playful borders) */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  border: 2px solid #C0AC6C;
  border-radius: 13px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 1rem;
  transition: border .2s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border: 2.5px solid #fa39a0;
}
button, .cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
}

/* SPECIAL: TABLES */
table tr:hover td {
  background: #fff2fc;
  transition: background .12s;
}

/* THANK YOU/SUCCESS PAGE CARD */
main .text-section a.cta-primary {
  margin: 20px 0 0 0;
}

/* ACCESSIBILITY: FOCUS STATES */
a:focus, .cta-primary:focus, button:focus, .cookie-btn:focus {
  outline: 3px solid #fa39a0;
  outline-offset: 2px;
}

/* ANIMATED DECORATIVE ACCENTS (optional/fun) */
@media (min-width: 769px) {
  header .container > a img {
    transition: transform .3s;
  }
  header .container > a img:hover {
    transform: scale(1.08) rotate(-5deg);
  }
}

/* DYNAMIC BRIGHT ACCENT DOTS/BORDERS */
.section {
  border-left: 8px solid #fa39a0;
  border-radius: 0 24px 24px 0;
  background: #fff;
  box-shadow: 0 4px 22px #c0ac6c13;
}
@media (max-width: 768px) {
  .section {
    border-left: 4px solid #fa39a0;
    border-radius: 0 14px 14px 0;
  }
}

/* END OF STYLE.CSS */
