/* --- CSS RESET & NORMALIZE --- */
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;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #121218;
  background: #F8FAFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #1B2845;
  text-decoration: none;
  transition: color .2s cubic-bezier(.34,1.56,.64,1), background .2s cubic-bezier(.34,1.56,.64,1);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul, ol {
  padding-left: 1.5em;
  margin: 16px 0;
}
li {
  margin-bottom: 8px;
}

/* --- BRAND TYPOGRAPHY --- */
@import url('https://fonts.googleapis.com/css2?family=Exo:wght@600;800&family=Open+Sans:wght@400;600&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Exo', Arial, Helvetica, sans-serif;
  color: #1B2845;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
h1 { font-size: 2.6rem; line-height:1.15; margin-bottom: 14px; }
h2 { font-size: 2rem;  line-height:1.18; margin-bottom: 10px; }
h3 { font-size: 1.3rem; font-weight: 600; }
h4,h5,h6 { font-size: 1.1rem; font-weight: 600; }
p, li, dd {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #333744;
  margin-bottom: 10px;
}
strong, b {
  font-weight: 700;
  color: #1B2845;
}

/* --- CONTAINER & LAYOUT --- */
.container {
  width: 100%;
  max-width: 1156px;
  margin: 0 auto;
  padding: 0 14px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #FFF;
  border-radius: 22px;
  box-shadow: 0 3px 18px 0 rgba(68,128,186,0.08), 0 0px 2px 0 rgba(100,200,240,0.07);
}

@media (max-width: 768px) {
  .container { padding: 0 6px; }
  .section { padding: 24px 6px; margin-bottom: 36px; }
}

/* --- FLEX-ONLY Grids & Cards --- */
.card-container,
.card-grid,
.feature-grid,
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 12px 0 rgba(79,179,223,0.10);
  padding: 22px 16px 16px 16px;
  position: relative;
  transition: transform .18s cubic-bezier(.34,1.56,.64,1),box-shadow .18s cubic-bezier(.34,1.56,.64,1);
  z-index: 1;
}
.card:hover,
.service-item:hover,
.feature-item:hover {
  transform: translateY(-4px) scale(1.025) rotate(-2deg);
  box-shadow: 0 6px 28px 0 rgba(79,179,223,0.16);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 16px; }
}

/* --- FEATURES & SERVICES FLEX --- */
.feature-item,
.service-item {
  background: #ecf7fa;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 18px 16px 18px;
  min-width: 220px;
  max-width: 300px;
  flex: 1 1 220px;
  box-shadow: 0 2px 8px 0 rgba(63,185,187,0.10);
  margin-bottom: 20px;
  transition: box-shadow .16s, transform .16s;
}
.feature-item img,
.service-item img {
  width: 40px;
  height: 40px;
}
.service-list {
  gap: 24px 16px;
  flex-wrap: wrap;
  justify-content: stretch;
}
.service-item {
  align-items: flex-start;
  background: #FFF3E4;
}
.service-price {
  font-size: 1.1rem;
  font-weight: bold;
  background: #4FB3DF;
  color: #fff;
  padding: 6px 12px 4px 12px;
  border-radius: 14px;
  margin-top: 8px;
  letter-spacing: 0.03em;
  box-shadow: 0 1px 8px 0 rgba(80,179,223,0.12);
}
@media (max-width: 900px) {
  .feature-grid, .card-container, .service-list { gap: 18px; }
  .feature-item, .service-item { min-width: 160px; }
}
@media (max-width: 576px) {
  .feature-grid, .service-list { flex-direction: column; gap: 14px; }
  .feature-item, .service-item { max-width: 100%; min-width: 0; width: 100%; }
}

/* --- TESTIMONIALS FLEX --- */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #FFF9C7;
  border-radius: 22px;
  box-shadow: 0 1px 8px 0 rgba(70,60,10,0.07);
  margin-bottom: 24px;
  font-size: 1.12rem;
  max-width: 650px;
}
.testimonial-card p {
  color: #25282c;
}
.testimonial-card span {
  color: #00A6B1;
  font-style: italic;
  font-size:1rem;
}
@media (max-width: 600px) {
  .testimonial-card { font-size: 1rem; padding: 15px 12px; }
}

/* --- TABLE STYLING (FOR SERVICES) --- */
.service-table {
  width: 100%;
  border-collapse: collapse;
  background: #f5fbfa;
  border-radius: 14px;
  overflow: hidden;
  margin: 18px 0 24px 0;
  font-size: 1.04rem;
}
.service-table th, .service-table td {
  padding: 14px 10px;
  text-align: left;
  border-bottom: 1px solid #d9e9ef;
}
.service-table th {
  background: #4FB3DF;
  color: #fff;
  font-family: 'Exo', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
}
.service-table tr:last-child td { border-bottom: none; }
@media (max-width: 650px) {
  .service-table,
  .service-table tbody, .service-table tr, .service-table th, .service-table td {
    display: block;
    width: 100%;
  }
  .service-table th { text-align: left; }
  .service-table td { border-bottom: none; margin-bottom: 9px; }
}

/* --- FAQ Styles --- */
.faq-list {
  margin: 24px 0 0 0;
}
.faq-list dt {
  font-family: 'Exo', Arial, Helvetica, sans-serif;
  font-size: 1.12rem;
  margin-top: 14px;
  font-weight: 700;
  color: #4FB3DF;
  background: #f1faff;
  padding: 6px 8px;
  border-radius: 10px;
  transition: background .14s;
}
.faq-list dd {
  margin-left: 18px;
  font-size: 1.00rem;
  color: #222;
  margin-bottom: 6px;
}

/* --- BUTTONS & CTAs --- */
.cta-primary, .cta-secondary, button, .cookie-btn {
  font-family: 'Exo', Arial, Helvetica, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  background: #FFD164;
  color: #1B2845;
  border: none;
  border-radius: 20px;
  padding: 13px 32px 13px 32px;
  cursor: pointer;
  box-shadow: 0 7px 32px 0 rgba(255,209,100,0.16),0 1px 2px 0 #68d6f38a;
  margin: 12px 0 0 0;
  text-align: center;
  text-decoration: none !important;
  outline: none;
  display: inline-block;
  transition: background .22s cubic-bezier(.6,1.2,.8,1), color .22s;
}
.cta-primary:hover, .cta-secondary:hover, .cookie-btn:hover {
  background: #1B2845;
  color: #FFD164;
}
.cta-secondary {
  background: #4FB3DF;
  color: #FFF;
  box-shadow: 0 2px 12px 0 rgba(79,179,223,0.19);
}
.cta-secondary:hover {
  background: #FFE865;
  color: #1B2845;
}
button:active, .cta-primary:active, .cta-secondary:active {
  filter: brightness(0.95);
}

/* --- NAVIGATION --- */
header {
  background: #FFD164;
  box-shadow: 0 2px 12px 0 rgba(221,191,37,0.12);
  position: sticky;
  top: 0;
  z-index: 40;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  padding: 14px 0;
  font-family: 'Exo', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
}
.main-nav a {
  color: #1B2845;
  padding: 7px 12px;
  border-radius: 16px;
  font-weight: 600;
  transition: background .15s, color .15s, box-shadow .12s;
}
.main-nav a:hover {
  background: #4FB3DF;
  color: #fff;
  box-shadow: 0 2px 8px 0 rgba(23,75,140,0.10);
}
.main-nav .cta-primary {
  background: #4FB3DF;
  color: #fff;
  padding: 11px 22px;
  margin-left: auto;
  border-radius: 22px;
  box-shadow: 0 2px 13px 0 rgba(60,180,210,0.10);
}
.main-nav .cta-primary:hover {
  background: #FFD164;
  color: #1B2845;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  background: #1B2845;
  color: #FFD164;
  border: none;
  padding: 10px 18px;
  font-size: 2rem;
  border-radius: 20px;
  position: absolute;
  top: 12px;
  right: 24px;
  cursor: pointer;
  transition: background .16s, color .16s;
  z-index: 200;
}
.mobile-menu-toggle:active {
  filter: brightness(1.10);
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: #FFD164;
  transform: translateX(-105%);
  transition: transform 0.36s cubic-bezier(.34,1.56,.64,1);
  z-index: 9999;
  box-shadow: 0 4px 24px 0 rgba(58,50,31,.10);
  opacity: 1;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: #4FB3DF;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 2rem;
  padding: 10px 17px;
  margin: 18px 0 16px 18px;
  cursor: pointer;
  align-self: flex-end;
  transition: background .16s, color .14s;
}
.mobile-menu-close:hover {
  background: #1B2845;
  color: #FFD164;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100vw;
  padding: 0 32px;
  margin-top: 16px;
}
.mobile-nav a {
  display: block;
  padding: 15px 12px;
  background: #fff;
  color: #1B2845;
  border-radius: 14px;
  font-family: 'Exo', Arial, Helvetica, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: 0 2px 12px 0 rgba(90,195,220,0.09);
  margin-bottom: 4px;
  transition: background .18s, color .18s;
}
.mobile-nav a:hover {
  background: #4FB3DF;
  color: #fff;
}

@media (max-width: 1050px) {
  .main-nav a:not(.cta-primary) {
    font-size:1rem;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 14px;
    font-size:1rem;
    margin-right: 0;
  }
  .main-nav .cta-primary {
    padding: 8px 16px;
    font-size:1rem;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none!important; }
  .main-nav { display: flex!important; }
}

/* --- COOKIES CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #4FB3DF;
  color: #fff;
  z-index: 14000;
  box-shadow: 0 -2px 24px 0 rgba(36,125,170,0.09);
  padding: 18px 6vw 18px 5vw;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  font-size: 1.04rem;
  justify-content: space-between;
  animation: banner-slidein .6s cubic-bezier(.4,1.8,.9,1);
}
@keyframes banner-slidein {
  from { opacity: 0; transform: translateY(40%); }
  to   { opacity: 1; transform: translateY(0);   }
}
.cookie-message {
  flex: 1;
  min-width: 0;
}
.cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-btn {
  background: #FFD164;
  color: #1B2845;
  border: none;
  border-radius: 14px;
  padding: 9px 20px;
  font-family: 'Exo', Arial, Helvetica, sans-serif;
  font-weight: 700;
  cursor: pointer;
  margin-left: 0;
  font-size: 1rem;
  transition: background .21s, color .2s;
}
.cookie-btn:hover {
  background: #1B2845;
  color: #FFD164;
}
@media (max-width: 700px){
  .cookie-banner { flex-direction: column; align-items: flex-start; gap: 15px; padding-left: 10px; padding-right: 10px; }
}

/* --- COOKIES MODAL --- */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(60,90,180,0.12);
  z-index: 15000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  opacity: 1;
  animation: modal-fadein .3s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modal-fadein {
  from { opacity:0; }
  to { opacity:1; }
}
.cookie-modal-content {
  background: #FFD164;
  color: #1B2845;
  padding: 32px 26px 24px 26px;
  border-radius: 26px;
  box-shadow: 0 9px 33px 0 rgba(45,142,200,0.11);
  min-width: 300px;
  max-width: 96vw;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-content h2 {
  font-size: 1.3rem;
  color: #1B2845;
}
.cookie-modal-categories {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-category {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
}
.cookie-category label {
  font-weight: 600;
  color: #1B2845;
}
.cookie-category input[type=checkbox] {
  accent-color: #4FB3DF;
  transform: scale(1.25);
  margin-top: 2px;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: #4FB3DF;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.24rem;
  padding: 5px 12px 6px 12px;
  cursor: pointer;
  outline: none;
  transition: background .18s;
}
.cookie-modal-close:hover {
  background: #1B2845;
  color: #FFD164;
}
@media (max-width:500px) {
  .cookie-modal-content { padding: 17px 6px 14px 8px; }
}

/* --- FOOTER --- */
footer {
  width: 100%;
  background: #102036;
  color: #fff;
  padding: 38px 0 24px 0;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
footer .container {
  padding-left: 10px; padding-right: 10px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: row;
  gap: 32px;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}
.footer-nav a {
  color: #FFD164;
  font-weight: 700;
  padding: 2px 0;
  transition: color .14s;text-decoration:none;
}
.footer-nav a:hover {
  color: #4FB3DF;
}
.footer-brand {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: center;
  font-weight: 600;
  font-size: 1.08rem;
  color: #FFD164;
  min-width: 200px;
  max-width: 340px;
}
.footer-brand img {
  width: 37px;
  margin-right: 4px;
}
.footer-contact {
  min-width: 180px;
  color: #fff;
  line-height: 1.65;
  font-size:1rem;
}
.footer-contact a {
  color: #4FB3DF; text-decoration: underline;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-top: 7px;
}
.footer-social a img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFD164;
  padding: 5px;
  transition: background .16s;
}
.footer-social a:hover img {
  background: #4FB3DF;
}
@media (max-width: 850px) {
  footer .content-wrapper { flex-direction: column; gap: 17px; }
  .footer-brand, .footer-contact, .footer-nav, .footer-social { max-width: 100%; min-width: 0; }
}

/* --- UTILITY & MICRO-ANIMATIONS --- */
@keyframes swing {
  10% {transform: rotate(6deg);}
  20% {transform: rotate(-4deg);}
  30% {transform: rotate(2deg);}
  40% {transform: rotate(0deg);}
}
.cta-primary, .cta-secondary, .cookie-btn {
  animation: swing 2.1s cubic-bezier(.23,1.15,.55,1.25) .6s 1;
}
.section, .feature-item, .service-item, .testimonial-card {
  animation: fadeinup 1.1s cubic-bezier(.34,1.56,.64,1);
}
@keyframes fadeinup {
  from { opacity:0; transform: translateY(30px); }
  to { opacity:1; transform: translateY(0); }
}

/* --- MISCELLANEOUS --- */
.text-section {
  max-width: 720px;
  margin-right: auto;
  margin-left: auto;
}

/* --- SPACING & GAPS (MANDATORY) --- */
/* Already integrated in previous selectors per instructions*/

/* --- ACCESSIBILITY: FOCUS RINGS --- */
a:focus, button:focus, .cta-primary:focus, .cta-secondary:focus, .cookie-btn:focus, .mobile-menu-close:focus {
  outline: 2px solid #FFD164;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px #4FB3DF55;
}

/* --- COLORFUL, PLAYFUL DYNAMIC TOUCHES --- */
h1, h2, h3 {
  text-shadow: 1px 2px 0 #FFD16455, 0px 0px 3px #7ff0e5a2;
}
.feature-item {
  border: 3px dashed #FFD164;
  box-shadow: 0 2px 8px 0 rgba(79,179,223,0.13);
  transition: border-color .21s;
}
.feature-item:hover {
  border-color: #4FB3DF;
  background: #fffbe5;
}

/* --- TABLET STYLES --- */
@media (max-width:1050px) {
  h1{font-size:2.1rem;}
}
@media (max-width:700px) {
  h2{font-size:1.35rem;}
}

/* --- CUSTOM ANIMATIONS FOR ICONS --- */
.feature-item img, .service-item img, .footer-social a img {
  transition: transform .13s cubic-bezier(.82,1.9,.52,1.85), box-shadow .11s;
}
.feature-item:hover img, .service-item:hover img, .footer-social a:hover img {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 0 0 4px #FFD16455;
}

/* --- BRIGHT CUSTOM BULLETS FOR UL --- */
ul {
  list-style: none;
}
ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
ul li:before {
  content:'';
  position: absolute;
  left: 0; top: 8px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD164 65%, #4FB3DF 100%);
  box-shadow: 0 1px 4px 0 #FFD16455;
  animation: bullet-zoom .7s cubic-bezier(.22,1.2,.42,1.2) 1;
}
@keyframes bullet-zoom {
  from { transform:scale(0.3); opacity:.4; }
  to   { transform:scale(1); opacity:1; }
}

/* --- FORM STYLES for playful dynamic forms (if needed) --- */
input, select, textarea {
  border: 2px solid #4FB3DF; border-radius: 14px;
  padding: 7px 15px;
  font-size: 1rem;
  background: #FFF;
  margin-bottom: 15px;
  width: 100%;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  transition: border .17s, box-shadow .16s;
}
input:focus, select:focus, textarea:focus {
  border: 2px solid #FFD164;
  box-shadow: 0 2px 12px 0 #FFD16422;
}
::placeholder {
  color: #9aadc0;
  opacity: 1;
}

/* --- Hide scrollbars in cookie/modal --- */
.cookie-modal, .mobile-menu {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cookie-modal::-webkit-scrollbar, .mobile-menu::-webkit-scrollbar {
  display: none;
}

/* --- END OF STYLE.CSS --- */
