/* ==== 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;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  line-height: 1.5;
  background: #f6f6f6;
  color: #102438;
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
ul, ol { list-style: none; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; height: auto; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

/* ==== BRAND COLORS ==== */
:root {
  --primary: #00264d;
  --secondary: #29a3a3;
  --accent: #f6f6f6;
  --electric-blue: #1bb2fe;
  --vibrant-pink: #fd387a;
  --alert-red: #e63946;
  --energy-yellow: #ffe600;
  --bg-white: #fefefe;
  --dark: #102438;
}

/* ==== TYPOGRAPHY ==== */
h1, .display-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--primary);
  margin-bottom: 18px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(37,191,237,0.08);
}
@media (min-width:768px) {
  h1, .display-title { font-size: 3.25rem; }
}
h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--electric-blue);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 10px;
}
h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: var(--primary);
}
.subheadline {
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 24px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 400;
}
.display-bold {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
}
p {
  margin-bottom: 1.2em;
  font-size: 1rem;
  color: var(--dark);
}
strong, b {
  font-weight: 700;
  color: var(--primary);
}
small {
  font-size: 0.9em;
  color: #425468;
}

/* ==== CONTAINER AND SPACING ==== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  padding: 0;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 768px) {
  .content-wrapper {
    padding: 0 40px;
  }
  .section {
    padding: 60px 0 60px 0;
    margin-bottom: 70px;
  }
}

/* ==== HEADER & NAVIGATION ==== */
header {
  background: var(--primary);
  color: #fff;
  padding: 0;
  box-shadow: 0 5px 22px -10px rgba(0,38,77,0.12);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 20px;
}
header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
header nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 6px 8px;
  border-radius: 6px;
  transition: background .18s;
}
header nav a:hover,
header nav a:focus {
  background: var(--electric-blue);
  color: var(--primary);
}
header img {
  height: 38px;
  width: auto;
  margin-right: 16px;
}
.cta-button {
  display: inline-block;
  padding: 14px 36px;
  font-size: 1.15rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  background: linear-gradient(90deg, var(--electric-blue) 60%, var(--vibrant-pink));
  color: #fff;
  border: none;
  border-radius: 28px;
  box-shadow: 0 6px 20px -4px var(--electric-blue);
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background .22s, color .22s, box-shadow .18s, transform .15s;
}
.cta-button:hover, .cta-button:focus {
  background: linear-gradient(90deg, var(--energy-yellow) 40%, var(--vibrant-pink) 100%);
  color: var(--primary);
  box-shadow: 0 8px 32px -2px var(--vibrant-pink);
  transform: translateY(-2px) scale(1.03);
}
.cta-button.secondary {
  background: linear-gradient(90deg, var(--secondary) 40%, var(--electric-blue) 100%);
  color: #fff;
}
.cta-button.secondary:hover, .cta-button.secondary:focus {
  background: linear-gradient(90deg, var(--vibrant-pink) 10%, var(--energy-yellow) 90%);
  color: var(--primary);
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: flex;
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 140;
  background: var(--electric-blue);
  border-radius: 50%;
  border: none;
  width: 50px;
  height: 50px;
  font-size: 2.1rem;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 10px 1px var(--electric-blue);
  transition: background .2s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--vibrant-pink);
  color: var(--energy-yellow);
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,38,77,0.95);
  z-index: 200;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.62,.03,.38,.99);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
}
.mobile-menu.active {
  transform: translateX(0);
}
.mobile-menu-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: var(--vibrant-pink);
  color: #fff;
  border-radius: 50%;
  font-size: 2.1rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  box-shadow: 0 2px 12px 2px var(--electric-blue);
  transition: background .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--energy-yellow);
  color: var(--primary);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  margin-top: 80px;
  gap: 22px;
  align-items: flex-start;
  padding-left: 40px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.2rem;
  padding: 14px 0;
  width: 100%;
  border-bottom: 1px solid #3ea7e7;
  transition: color .21s, background .21s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--energy-yellow);
  background: rgba(41,163,163,0.13);
}
@media (min-width: 1024px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
  header nav { display: flex; }
}
@media (max-width: 1023px) {
  header nav { display: none; }
  .cta-button { font-size: 1rem; padding: 12px 22px; }
  header .container { padding-right: 72px; }
}

/* ==== HERO & MAIN CONTENT SECTIONS ==== */
main {
  margin-bottom: 60px;
}
section {
  background: var(--bg-white);
  border-radius: 24px;
  box-shadow: 0 8px 36px -12px #b2cef2;
  margin-bottom: 60px;
  padding: 40px 20px;
  overflow: hidden;
}
@media (min-width: 768px) {
  section {
    margin-bottom: 80px;
    padding: 48px 36px;
  }
  h1, .display-title { font-size: 3rem; }
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 16px;
}
.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; gap: 22px; }
}
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  margin-bottom: 20px;
  justify-content: flex-start;
}
.feature-grid li {
  background: linear-gradient(90deg, var(--accent) 80%, #ebfeff 100%);
  box-shadow: 0 3px 16px -3px var(--electric-blue),0 2px 21px -5px #fff;
  border-radius: 18px;
  padding: 28px 20px 20px 20px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 340px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 230px;
  transition: box-shadow .18s, transform .15s;
}
.feature-grid li:hover {
  box-shadow: 0 8px 36px -8px var(--vibrant-pink), 0 2px 21px -4px #8168ec;
  transform: translateY(-4px) scale(1.03);
}
.feature-grid img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}
.feature-grid strong {
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: 8px;
}
.feature-grid p {
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 0;
}

/* ==== CARD & LIST PATTERNS ==== */
.card-container,
.team-grid,
.service-list,
.guide-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.card, .team-member, .service-item, .topic-card {
  background: linear-gradient(90deg, var(--accent) 70%, #eafdff 100%);
  border-radius: 18px;
  box-shadow: 0 2px 16px -3px #44d2f5, 0 1.5px 13px -3px #ae80d6;
  margin-bottom: 20px;
  position: relative;
  flex: 1 1 260px;
  padding: 32px 24px 24px 24px;
  min-width: 220px;
  transition: box-shadow .18s, transform .14s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.card:hover, .team-member:hover, .service-item:hover, .topic-card:hover {
  box-shadow: 0 8px 34px -8px var(--vibrant-pink), 0 2px 19px -6px #f7a8e2;
  transform: translateY(-2px) scale(1.02);
}

.team-member img {
  border-radius: 50%;
  width: 62px;
  height: 62px;
  margin-bottom: 12px;
  box-shadow: 0 0 0 4px var(--electric-blue), 0 3px 8px -2px #fff;
}
.service-item .cta-button.secondary {
  margin-top: 18px;
}
.service-price {
  color: var(--vibrant-pink);
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 0.03em;
  background: var(--energy-yellow);
  padding: 5px 16px;
  border-radius: 12px;
  box-shadow: 0 1px 8px -2px var(--energy-yellow);
}

.topic-card h3 {
  margin-bottom: 6px;
  color: var(--secondary);
}
.topic-card a {
  color: var(--vibrant-pink);
  font-weight: 600;
  margin-top: 10px;
  display: inline-block;
  transition: color .19s;
}
.topic-card a:hover, .topic-card a:focus {
  color: var(--electric-blue);
  text-decoration: underline;
}

/* ==== TESTIMONIALS ==== */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 24px 24px 24px;
  background: var(--accent);
  border-radius: 18px;
  box-shadow: 0 3px 24px -6px var(--secondary),0 2px 18px -5px #fff;
  max-width: 360px;
  min-width: 220px;
  margin-bottom: 20px;
  color: #15294d;
  border-left: 7px solid var(--vibrant-pink);
  position: relative;
  transition: box-shadow .18s, transform .12s;
}
.testimonial-card:hover {
  box-shadow: 0 10px 34px -8px var(--electric-blue), 0 6px 24px -10px #ffe600;
  transform: translateY(-4px) scale(1.03);
}
.testimonial-card p {
  color: #102438;
  font-size: 1.11rem;
  font-style: italic;
  margin-bottom: 12px;
}
.testimonial-card span {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
}

/* ==== ADDRESS BLOCKS, INFO, ASSURANCE ==== */
.address-block, .assurance {
  background: var(--accent);
  color: var(--primary);
  padding: 20px 24px;
  border-radius: 16px;
  margin-bottom: 24px;
  font-size: 1.05rem;
}
.assurance { font-weight: bold; color: var(--vibrant-pink); }

/* ==== FOOTER ==== */
footer {
  background: var(--primary);
  color: #fff;
  padding: 40px 0 18px 0;
  margin-top: 60px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  padding: 8px 6px;
  border-radius: 8px;
  transition: background .14s;
}
.footer-nav a:hover,
.footer-nav a:focus {
  background: var(--secondary);
}
.footer-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.footer-info img {
  width: 42px;
  margin-bottom: 5px;
}
.footer-info span, .footer-info a {
  font-size: 1rem;
  color: #fff;
  line-height: 1.6;
}
.footer-info a {
  color: var(--energy-yellow);
  text-decoration: underline;
  transition: color .18s;
}
.footer-info a:hover, .footer-info a:focus {
  color: var(--vibrant-pink);
}

/* ==== FORMS, DOWNLOADS ==== */
input, textarea, select {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--secondary);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 1rem;
  color: var(--primary);
  transition: border-color .19s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--electric-blue);
}
label {
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* ==== COOKIE BANNER ==== */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 850;
  background: linear-gradient(90deg, #fff 80%, #eafdff 100%);
  color: var(--primary);
  box-shadow: 0 -2px 20px -8px #29A3A3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 32px;
  font-size: 1rem;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  opacity: 1;
  transform: translateY(0);
  transition: opacity .5s, transform .5s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(160%);
  pointer-events: none;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 23px;
  border-radius: 23px;
  border: none;
  cursor: pointer;
  background: var(--electric-blue);
  color: #fff;
  transition: background .16s, color .16s;
  box-shadow: 0 2px 8px -1px #1bb2fe;
}
.cookie-banner .btn-reject {
  background: var(--vibrant-pink);
}
.cookie-banner .btn-settings {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--secondary);
}
.cookie-banner button:hover,
.cookie-banner button:focus {
  background: var(--energy-yellow);
  color: var(--primary);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(0,38,77,0.89);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s;
}
.cookie-modal.active {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 9px 48px -6px var(--electric-blue);
  padding: 36px 38px 30px;
  max-width: 410px;
  width: 93vw;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.cookie-modal-content h3 {
  color: var(--primary);
  font-size: 1.35rem;
  margin-bottom: 14px;
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin-bottom: 22px;
}
.cookie-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--accent);
  padding: 13px 16px;
  border-radius: 12px;
  width: 100%;
}
.cookie-setting input[type=checkbox] {
  width: 20px;
  height: 20px;
  accent-color: var(--electric-blue);
}
.cookie-setting .essential-label {
  font-weight: 700;
  color: var(--primary);
  margin-right: 6px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 16px;
}
.cookie-modal .btn-close-modal {
  background: var(--vibrant-pink);
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 1.35rem;
  position: absolute;
  top: 16px; right: 16px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .17s;
}
.cookie-modal .btn-close-modal:hover, .cookie-modal .btn-close-modal:focus {
  background: var(--energy-yellow);
  color: var(--primary);
}

/* ==== MISC STYLES FOR UNIQUE ELEMENTS ==== */
.thank-you-message {
  background: linear-gradient(90deg, var(--accent) 80%, #ebfeff 100%);
  border-radius: 18px;
  padding: 22px 20px 22px 20px;
  margin-bottom: 22px;
  box-shadow: 0 2px 13px -3px #29A3A3;
}
.text-section {
  padding: 15px 0;
  margin-bottom: 18px;
}

/* ======= FLEX UTILITY CLASSES (MANDATORY LAYOUT PATTERNS) ======= */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.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;
}

/* ==== RESPONSIVENESS ==== */
@media (max-width: 1023px) {
  .footer-nav {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }
  .footer-info {
    gap: 6px;
  }
  .container {
    padding: 0 15px;
  }
}
@media (max-width: 768px) {
  header .container {
    height: 68px; padding: 0 8px;
  }
  section, .section {
    padding: 22px 4px;
    margin-bottom: 40px;
    border-radius: 15px;
  }
  h1, .display-title { font-size: 2rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }
  .card, .team-member, .service-item, .topic-card, .testimonial-card {
    padding: 19px 9px;
    min-width: unset;
    max-width: 100%;
  }
  .testimonial-slider, .team-grid, .service-list, .guide-list, .feature-grid, .footer-nav, .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .container { padding: 0 2px; }
  .footer-info img { width: 32px; }
}

/* ==== BUTTONS & INTERACTIVE ELEMENTS ==== */
button, .cta-button, .cookie-banner button, .cookie-modal .modal-actions button {
  transition: background .17s, color .17s, box-shadow .11s, border .14s;
}

/* ==== ANIMATIONS ==== */
@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}
.section, .cta-button, .feature-grid li, .card, .team-member, .service-item, .topic-card, .testimonial-card, .thank-you-message {
  animation: fadeInUp .78s cubic-bezier(.62,.03,.38,.99);
}

/* ==== Z-INDEX ==== */
.mobile-menu, .cookie-modal { z-index: 2000; }
.cookie-banner { z-index: 850; }

/* ==== COLOR BLENDING FOR "VIBRANT ENERGETIC" FEEL ==== */
.card, .team-member, .service-item, .topic-card, .testimonial-card, .thank-you-message {
  box-shadow: 0 3px 19px -3px var(--electric-blue), 0 1.2px 13px -3px var(--vibrant-pink);
}

/* ==== UL, OL SPACING AND BULLETS ==== */
ul, ol {
  margin: 12px 0 18px 18px;
  padding-left: 0;
}
ul li, ol li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--dark);
  position: relative;
  line-height: 1.6;
}
ul li:before {
  content: '';
  display: inline-block;
  margin-right: 10px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--electric-blue), var(--vibrant-pink));
  border-radius: 50%;
  vertical-align: middle;
}
ol li:before {
  display: none;
}
.text-section ul li:before, .text-section ol li:before {
  background: var(--secondary);
}

/* ==== TABLES, DOWNLOADS, MISC ==== */
a[download] {
  color: var(--vibrant-pink);
  font-weight: 700;
  text-decoration: underline;
  transition: color .14s;
}
a[download]:hover, a[download]:focus {
  color: var(--electric-blue);
  text-decoration: underline dotted;
}

/* ==== HIDE/SHOW ON DEVICES UTILS ==== */
.hidden-mobile { display: block; }
@media(max-width:768px){ .hidden-mobile { display: none !important; } }
.hidden-desktop { display: none !important; }
@media(max-width:768px){ .hidden-desktop { display: block !important; } }
