/* 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%;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  background: #131c22;
  color: #F7F7F7;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}
button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}
input, textarea, select, button {
  font-family: inherit;
  outline: none;
}

/* BRAND VARIABLES/ROOT -------------------------- */
:root {
  --color-primary: #125578;
  --color-secondary: #56A39E;
  --color-accent: #F7F7F7;
  --color-dark-bg: #131c22;
  --color-glass-bg: rgba(18,85,120,0.7);
  --color-neon: #18FFE3;
  --color-danger: #ea526f;
  --color-grey: #222c36;
  --color-footer-bg: #10171d;
  --color-block-bg: #18273a;
  --color-shadow: 0 10px 32px 0 rgba(18,85,120,0.10);

  --font-display: 'Montserrat', Verdana, Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
  --transition: 0.22s cubic-bezier(.6,.05,.28,.91);
}

/* TYPOGRAPHY --------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #ffffff;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
  text-shadow: 0 2px 18px rgba(24,255,227,0.19);
  position: relative;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
}
h4 {
  font-size: 1.1rem;
}

p,
ul li,
ol li {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #d2f2fa;
}

strong {
  color: var(--color-neon);
}

blockquote {
  font-size: 1.15rem;
  font-style: italic;
  color: #212d3b;
  background: #E9FCFA;
  border-left: 4px solid var(--color-secondary);
  padding: 18px 22px;
  border-radius: 8px 2px 18px 2px;
  box-shadow: 0 2px 12px 0 #b9ffff0a;
  margin-bottom: 10px;
}

/* GENERAL STRUCTURE --------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: transparent;
  display: flex;
  flex-direction: column;
}
@media (max-width: 768px) {
  .section {
    margin-bottom: 36px;
    padding: 28px 6px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  p, ul li, ol li { font-size: 0.98rem; }
}

.content-wrapper {
  background: var(--color-block-bg);
  border-radius: 20px;
  box-shadow: var(--color-shadow);
  padding: 40px 38px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 1;
}
@media (max-width: 768px) {
  .content-wrapper {
    padding: 24px 8px;
    border-radius: 12px;
  }
}

.text-section {
  background: var(--color-dark-bg);
  color: #e7faff;
  border: 1px solid #2e4057;
}

/* HERO, ACCENTS, NEON ------------------------------ */
section:first-of-type {
  background: linear-gradient(135deg, #18273a 65%, #56A39E 220%);
  box-shadow: 0 10px 42px 0 rgba(18,85,120,0.11);
}
section:first-of-type .content-wrapper {
  background: rgba(24,39,58,0.86);
  box-shadow: 0 16px 38px -6px rgba(18,85,120,0.13);
  border: 1.5px solid #294564;
}

.cta-btn {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-accent);
  border-radius: 32px;
  padding: 16px 36px;
  margin-top: 10px;
  font-size: 1.14rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.03em;
  border: none;
  position: relative;
  box-shadow: 0 1px 18px 0 rgba(24,255,227,0.16), 0 1px 5px 0 #12557844;
  transition: background 0.2s, box-shadow 0.22s, transform 0.13s;
  cursor: pointer;
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: var(--color-secondary);
  color: #212d3b;
  box-shadow: 0 0 12px 0 var(--color-neon), 0 1px 18px 0 rgba(18,85,120,0.09);
  transform: translateY(-1px) scale(1.02);
}
.cta-btn.secondary {
  background: none;
  border: 2px solid var(--color-secondary);
  color: var(--color-neon);
  box-shadow: none;
}
.cta-btn.secondary:hover, .cta-btn.secondary:focus {
  background: var(--color-secondary);
  color: #18273a;
  box-shadow: 0 0 12px 0 var(--color-neon), 0 1px 12px 0 #76eaff44;
}

/* HEADER & NAVIGATION --------------------------------- */
header {
  width: 100%;
  background: #111922;
  box-shadow: 0 2px 20px rgba(24,255,227,0.045);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: sticky;
  top: 0; left: 0;
  z-index: 1040;
}
header .logo {
  display: flex;
  align-items: center;
  margin-left: 16px;
}
header .logo img {
  height: 38px;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  margin-left: 36px;
}
.main-nav a {
  color: #d1f9ff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.07rem;
  padding: 8px 12px;
  border-radius: 24px;
  transition: color 0.17s, background 0.18s;
}
.main-nav a:hover, .main-nav a:focus, .main-nav a.active {
  color: var(--color-neon);
  background: rgba(86,163,158, 0.09);
}

header .cta-btn {
  margin-left: 40px;
  margin-right: 21px;
}

/* Mobile menu burger button */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--color-neon);
  margin-left: 18px;
  border-radius: 9px;
  padding: 5px 12px;
  outline: none;
  transition: background 0.15s, box-shadow 0.2s;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: #19273a;
  box-shadow: 0 1px 8px rgba(24,255,227,0.14);
  color: #fff;
}

@media (max-width: 950px) {
  .main-nav { display: none; }
  .header .cta-btn { display: none; }
  .mobile-menu-toggle { display: inline-block; }
}
@media (max-width: 768px) {
  .mobile-menu-toggle { font-size: 1.8rem; }
  header .logo img { height: 29px; }
}

/* Mobile Menu styles */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100%;
  background: rgba(18,85,120,0.98);
  z-index: 2140;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: flex-start;
  padding: 0 0 9vh 0;
  transform: translateX(-100vw);
  transition: transform 0.32s var(--transition);
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border-radius: 8px;
  align-self: flex-end;
  margin: 17px 24px 9px 0;
  transition: background 0.18s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #172a39;
  color: #18FFE3;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  gap: 0;
  margin-top: 14px;
  align-items: flex-start;
}
.mobile-nav a {
  font-size: 1.22rem;
  font-family: var(--font-display);
  color: #fff;
  padding: 22px 40px 19px 43px;
  border-bottom: 1px solid #235e7b36;
  width: 100%;
  transition: background 0.16s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #191e26;
  color: var(--color-neon);
}
@media (min-width: 951px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* PAGE: HOME ― HIGHLIGHTS, FEATURES ------------------ */
.feature-grid, .advantages-list, .age-activities, .service-list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 24px;
  margin: 25px 0 0 0;
  padding: 0;
}
.feature-grid li, .advantages-list li, .age-activities li {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #183e4f;
  color: #d2f2fa;
  border-radius: 9px;
  box-shadow: 0 1.5px 9px 0 #0cc8af11, 0 1px 6px 0 #183e4f33;
  padding: 15px 22px;
  font-size: 1.05rem;
  flex: 1 1 240px;
  margin-bottom: 0;
}
.feature-grid li img, .advantages-list li img, .age-activities li img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 4px 12px #18FFE355) brightness(1.18);
}

.service-list {
  flex-direction: row;
  gap: 24px; /* min 20px between cards */
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 26px;
}
.service-list li {
  background: #163141;
  border-radius: 18px;
  box-shadow: 0 2.5px 21px 0 #0cc8af10, 0 0.5px 6px 0 #183e4f21;
  padding: 28px 24px 18px 24px;
  margin-bottom: 20px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.15s;
}
.service-list li:hover,
.service-list li:focus-within {
  box-shadow: 0 0 15px 2px #18FFE344, 0 2.5px 18px 0 #15314133;
  transform: translateY(-4px) scale(1.03);
  border: 1.5px solid var(--color-neon);
  z-index: 8;
}
.service-list h3 {
  color: #fff;
  margin-bottom: 3px;
}
.service-list p {
  color: #c5e7fb;
  margin-bottom: 0.6em;
}
.service-list span {
  font-size: 1.01rem;
  color: #18FFE3;
  font-weight: 600;
  margin-top: 6px;
}

.filters {
  margin-bottom: 14px;
  color: #aaf8ed;
  font-size: 0.98rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}
.filters span {
  background: #132734;
  border-radius: 12px;
  padding: 4px 12px;
  color: #14c9b2;
  margin-right: 4px;
}

/* Blog List (used in blog.html) */
.blog-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin: 16px 0 22px 0;
}
.blog-list article {
  background: #18273a;
  border-radius: 16px;
  box-shadow: 0 2px 11px #161f2a16;
  padding: 20px 18px 15px 18px;
  flex: 1 1 260px;
  min-width: 220px;
  margin-bottom: 20px;
  transition: box-shadow 0.19s, transform 0.17s;
}
.blog-list article:hover {
  box-shadow: 0 0 11px 0 #18FFE322, 0 2px 11px #161f2a1d;
  transform: translateY(-2px) scale(1.02);
}
.blog-list h3 {
  color: #18FFE3;
  margin-bottom: 5px;
}

.category-filters {
  color: #77fcf3;
  margin-top: 14px;
  font-size: 0.97rem;
}

/* TESTIMONIALS ----------------------------- */
.testimonials {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 24px;
  margin: 30px 0 0 0;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  background: #f7fafd;
  color: #1a3148;
  border-radius: 14px;
  box-shadow: 0 1px 9px 0 #0cc8af12;
  font-size: 1.07rem;
  max-width: 360px;
  min-width: 230px;
}
.testimonial-card blockquote {
  background: #ecf8fc;
  color: #234151;
  border-left: 4px solid var(--color-secondary);
  margin-bottom: 2px;
  font-size: 1.05rem;
  box-shadow: none;
}
.testimonial-meta {
  font-size: 0.99rem;
  color: var(--color-grey);
  font-weight: 500;
  line-height: 1.3;
}
.star-rating {
  font-size: 1.18rem;
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .testimonials {
    flex-direction: column;
    gap: 15px;
  }
}

/* FOOTER ----------------------------------- */
footer {
  background: var(--color-footer-bg);
  padding: 0 0 24px 0;
  color: #c5e7fb;
  font-size: 0.98rem;
  width: 100%;
  margin-top: 64px;
}
.footer-main {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 18px 13px 18px;
  gap: 44px;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-menu a {
  color: #18FFE3;
  font-weight: 600;
  margin-bottom: 3px;
  transition: color 0.15s;
}
.footer-menu a:hover, .footer-menu a:focus {
  color: #fff;
  text-decoration: underline;
}
.logo-mini img {
  height: 38px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #abecf3;
}
.footer-contact img {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
}
.footer-note {
  border-top: 1px solid #21405032;
  font-size: 0.97rem;
  color: #77d8e6;
  padding: 10px 18px 0 18px;
  margin-top: 6px;
  text-align: center;
  opacity: 0.85;
}
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
  .logo-mini img { height: 28px; }
}

/* CONTACT, LISTS & DETAILS ------------------------ */
.contact-details, .team-bio {
  margin: 9px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
  background: #103242;
  border-radius: 9px;
  padding: 12px 18px;
}
.contact-details li {
  color: #dbfcfc;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.04rem;
}
.contact-details li img {
  width: 20px; height: 20px; margin: 0;
  filter: drop-shadow(0 2px 4px #0cc8af22);
}
.phone-cta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.phone-cta p {
  color: #d6faff;
  flex: 2;
  margin-bottom: 0;
}
.phone-cta .cta-btn {
  flex: none;
}
@media (max-width: 700px) {
  .phone-cta {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
}

/* Responsive Grids/Containers --------------------- */
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { margin-bottom: 20px; position: relative; border-radius: 16px; box-shadow: 0 2px 12px #131c2210; background: #19374b; padding: 24px 22px; }
.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; }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

@media (max-width: 900px) {
  .content-grid { flex-direction: column; gap: 14px; }
}
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; align-items: stretch; gap: 14px; }
  .feature-item { gap: 10px; }
}

/* Animations & Micro-interactions ------------------ */
.cta-btn, .card, .service-list li, .blog-list article, .testimonial-card {
  transition: box-shadow 0.18s, background 0.19s, color 0.18s, transform 0.17s;
}

/* Form/Field Focus (for potential forms) ----------- */
input:focus, textarea:focus, select:focus {
  border: 1.5px solid var(--color-neon);
  box-shadow: 0 0 6px var(--color-neon)22;
  background: #102c3c;
}

/* Cookie Consent Banner -------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #18273a;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  z-index: 3200;
  box-shadow: 0 -2px 25px #18ffe319;
  border-top: 2px solid var(--color-neon);
  font-size: 0.99rem;
  opacity: 1;
  transition: opacity 0.32s;
}
.cookie-banner.hide { opacity: 0; pointer-events: none; }
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 15px;
}
.cookie-btn, .cookie-settings-btn {
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 10px 22px;
  cursor: pointer;
  background: var(--color-secondary);
  color: #152a35;
  box-shadow: 0 1px 6px #18ffe311;
  transition: background 0.18s, color 0.14s, box-shadow 0.14s;
}
.cookie-btn.reject {
  background: #f8f8fa;
  color: var(--color-danger);
  border: 2px solid var(--color-danger);
}
.cookie-btn.accept {
  background: var(--color-neon);
  color: #132222;
}
.cookie-settings-btn {
  background: none;
  color: var(--color-neon);
  border: 1px solid var(--color-secondary);
}
.cookie-btn:hover, .cookie-btn:focus, .cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: var(--color-neon);
  color: #193e49;
  box-shadow: 0 1px 9px #18ffe336;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 7px;
    font-size: 0.96rem;
    gap: 14px;
  }
  .cookie-banner .cookie-actions { gap: 7px; }
}

/* Cookie Settings Modal --------------------------- */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(18,85,120, 0.66);
  z-index: 3250;
  align-items: center;
  justify-content: center;
  transition: opacity 0.24s;
}
.cookie-modal.active {
  display: flex;
  opacity: 1;
}
.cookie-modal-content {
  background: #f3faff;
  color: #123b4a;
  border-radius: 20px;
  min-width: 310px;
  max-width: 98vw;
  width: 425px;
  box-shadow: 0 0 80px #18FFE348, 0 0 12px #12557822;
  padding: 32px 30px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: cookie-fadein 0.4s;
}
.cookie-modal-content h2 {
  color: #10171d;
}
@keyframes cookie-fadein {
  from { opacity: 0; transform: translateY(60px); }
  to { opacity: 1; transform: translateY(0); }
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 17px;
  font-size: 1.35rem;
  color: #19afb7;
  background: none;
}
.cookie-category {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  gap: 10px;
}
.cookie-category label {
  font-size: 1rem;
  color: #162f43;
}
.cookie-category input[type="checkbox"] {
  width: 22px;
  height: 22px;
  accent-color: var(--color-secondary);
}
.cookie-category .essential {
  color: #14c99f;
  font-weight: 700;
  font-size: 1em;
  margin-left: 7px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  margin-top: 16px;
  justify-content: flex-end;
}
.cookie-modal-actions .cookie-btn {
  font-size: 1rem;
  padding: 10px 22px;
}
@media (max-width: 600px) {
  .cookie-modal-content {
    min-width: 98vw;
    padding: 20px 6px 11px 10px;
    border-radius: 11px;
  }
}

/* Visual touches: Futuristic neon/glow underlines */
h1, h2 {
  position: relative;
}
h2:after {
  content: '';
  display: block;
  width: 58px;
  height: 3px;
  border-radius: 2px;
  margin: 8px 0 0 0;
  background: linear-gradient(90deg, #18FFE3 50%, #125578 100%);
  box-shadow: 0 1.5px 10px #18FFE322;
}

/* --- Utility classes for spacers/gaps */
.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.section:last-of-type { margin-bottom: 32px; }

/* ACCESSIBILITY: Focus Outline ------------------- */
a:focus, button:focus, .cta-btn:focus {
  outline: 2px solid #18FFE3 !important;
  outline-offset: 2px;
  z-index: 2;
}

/* Miscellaneous ---------------------------------- */
::-webkit-scrollbar { width:7px; background: #152032; }
::-webkit-scrollbar-thumb { background: #193e4f; border-radius: 20px; }

/* Hide native number input arrows */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Remove webkit fieldset/legend spacing */
legend { padding: 0; }

/* --- END --- */
