/* === CSS RESET & BASE STYLES === */
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,
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: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.6;
  min-height: 100vh;
  scroll-behavior: smooth;
  letter-spacing: 0.01em;
}

img {
  vertical-align: middle;
  max-width: 100%;
  height: auto;
  display: inline-block;
}
a {
  color: #23467A;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover,
a:focus {
  color: #21885B;
}
ul,
ol {
  list-style: none;
}

::-webkit-input-placeholder { color: #222; opacity: 0.7; }
::-moz-placeholder { color: #222; opacity: 0.7; }
:-ms-input-placeholder { color: #222; opacity: 0.7; }
::placeholder { color: #222; opacity: 0.7; }

/* === BRAND COLORS & TYPOGRAPHY === */
:root {
  --color-primary: #23467A;
  --color-secondary: #F6E7C5;
  --color-accent: #21885B;
  --color-dark-text: #222;
  --color-light-bg: #fff;
  --color-hero-bg: #F6E7C5;
  --color-electric-yellow: #FFD600;
  --color-hot-pink: #FF529A;
  --color-cool-cyan: #00CFFF;
  --font-display: 'Montserrat', Arial, sans-serif;
  --font-body: 'Roboto', Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: 0.005em;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }

@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  h3 { font-size: 1.5rem; }
}
p, li, .text-section, .content-wrapper {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark-text);
}

strong {
  color: var(--color-accent);
  font-weight: 700;
}

/* === LAYOUT CONTAINERS === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
}

/* Spacing/Alignment patterns (MANDATORY classes) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--color-light-bg);
  border-radius: 24px;
  box-shadow: 0 4px 18px rgba(33,136,91, 0.12), 0 1.5px 8px rgba(255,86,154,0.09);
  padding: 28px 24px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(33,136,91,0.22), 0 2.5px 16px rgba(255,86,154,0.14);
  transform: translateY(-3px) scale(1.02);
  z-index: 2;
}
.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 20px 32px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: #fffbe7;
  color: #222;
  box-shadow: 0 3px 18px rgba(35,70,122, 0.08);
  max-width: 570px;
  min-width: 0;
}
.testimonial-card p {
  font-size: 1.12rem;
  color: #23467A;
}
.testimonial-card span {
  font-size: 0.95rem;
  color: #21885B;
  font-family: var(--font-display);
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 15px 0;
}

/* Responsive Layout Fixes */
@media (max-width: 900px) {
  .container { padding: 0 12px; }
  .content-wrapper { padding: 0; }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
  .section {
    padding: 32px 8px;
    margin-bottom: 38px;
  }
  .hero .content-wrapper { align-items: flex-start; }
}

/* === HEADER + NAVIGATION === */
header {
  background: linear-gradient(90deg, var(--color-hero-bg) 80%, var(--color-electric-yellow) 100%);
  box-shadow: 0 2px 12px rgba(35,70,122,0.04);
  position: relative;
  z-index: 102;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 12px 0;
  position: relative;
}
nav > a > img {
  height: 40px;
  margin-right: 18px;
  display: block;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
nav ul li {
  margin: 0 2px;
}
nav ul li a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  padding: 8px 12px;
  border-radius: 16px;
  color: var(--color-primary);
  transition: background 0.18s, color 0.18s;
}
nav ul li a:hover,
nav ul li a:focus {
  background: var(--color-hot-pink);
  color: #fff;
}
.cta-primary {
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.03em;
  font-size: 1.15rem;
  padding: 14px 28px;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(33,136,91,0.12);
  transition: background 0.18s, box-shadow 0.22s, transform 0.14s;
  border: none;
  display: inline-block;
}
.cta-primary:hover,
.cta-primary:focus {
  background: var(--color-hot-pink);
  box-shadow: 0 4px 24px rgba(255, 86, 154, 0.15);
  transform: translateY(-2px) scale(1.01);
  color: #fff;
}

/* --- Mobile Nav Styles --- */
.mobile-menu-toggle {
  display: none;
  background: var(--color-hot-pink);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 8px 18px;
  border-radius: 12px;
  cursor: pointer;
  margin-left: 12px;
  z-index: 210;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  box-shadow: 0 1.5px 6px rgba(255,86,154,0.06);
}
.mobile-menu-toggle:active {
  background: var(--color-accent);
}

@media (max-width: 950px) {
  nav ul, nav .cta-primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; height: 100vh;
  background: #fff;
  z-index: 500;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.74, 0.09, 0.35, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  box-shadow: 4px 0 24px rgba(33,70,122,0.15);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.3rem;
  padding: 18px 24px 8px 8px;
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
  transition: color 0.2s;
  z-index: 999;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: var(--color-hot-pink);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 36px;
  padding-left: 26px;
  gap: 14px;
}
.mobile-nav a {
  padding: 12px 0 12px 2px;
  font-size: 1.18rem;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-weight: 700;
  width: 100%;
  transition: background 0.15s, color 0.16s;
  border-radius: 13px;
  display: block;
}
.mobile-nav a:active, .mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-accent);
  color: #fff;
}

@media (max-width: 500px) {
  .mobile-nav {
    gap: 7px;
    padding-left: 13px;
  }
  .mobile-menu {
    min-width: 0;
    /* Prevent horizontal overflow on tiny screens */
  }
  .mobile-menu-close {
    font-size: 2rem;
    padding: 12px;
  }
}

/* === HERO SECTIONS === */
.hero {
  background: linear-gradient(90deg, var(--color-electric-yellow) 0%, var(--color-hot-pink) 85%, var(--color-cool-cyan) 100%);
  padding: 60px 0 40px 0;
  position: relative;
  box-shadow: 0 2.5px 22px rgba(35,70,122,0.08);
}
.hero .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.hero h1 {
  color: var(--color-primary);
  font-size: 2.3rem;
  font-family: var(--font-display);
  font-weight: 900;
  text-shadow: 0 2px 18px rgba(33,136,91,0.10);
  margin-bottom: 8px;
}
.hero p {
  color: #23467A;
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 16px;
}
@media (min-width: 600px) {
  .hero {
    padding: 84px 0 64px 0;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero .content-wrapper {
    gap: 22px;
  }
}
@media (max-width: 520px) {
  .hero { padding: 38px 0 18px 0; }
  .hero h1 { font-size: 2rem; }
}

/* === FEATURES & ARTICLES === */
.features, .articles, .services {
  background: #fff;
  border-radius: 32px;
  margin-bottom: 50px;
  box-shadow: 0 3px 25px rgba(33,70,122,0.06);
  padding: 32px 0;
}
.features h2, .articles h2, .services h2 {
  color: var(--color-hot-pink);
  font-family: var(--font-display);
}
.features ul, .articles ul, .services ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 12px;
}
.features ul li, .articles ul li, .services ul li {
  background: var(--color-secondary);
  border-radius: 16px;
  padding: 16px 20px;
  color: #23467A;
  font-weight: 500;
  font-size: 1.04rem;
  box-shadow: 0 0.5px 4px rgba(0,0,0,0.04);
  line-height: 1.6;
}
.services ul li h3 span {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.1rem;
  margin-left: 3px;
}
.features .feature-icons {
  display: flex;
  gap: 18px;
  margin: 26px 0 8px 0;
  align-items: center;
  flex-wrap: wrap;
}
.features .feature-icons img {
  width: 56px; height: 56px;
  background: #ffe2f0;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.18s, box-shadow 0.16s;
  box-shadow: 0 2px 10px rgba(255,86,154,0.09);
}
.features .feature-icons img:hover {
  background: var(--color-hot-pink);
  box-shadow: 0 5px 20px rgba(33,136,91,0.18);
}
.features .feature-descriptions ul {
  gap: 10px;
  margin: 18px 0 0 0;
}

/* --- Special Utility --- */
.card + .card,
.testimonial-card + .testimonial-card,
.section + .section,
.feature-item + .feature-item {
  margin-top: 20px;
}


/* === TESTIMONIALS === */
.testimonials {
  background: #F6E7C5;
  border-radius: 32px;
  margin-bottom: 60px;
  box-shadow: 0 2px 25px rgba(35,70,122,0.11);
  padding: 32px 0;
}
.testimonials h2 {
  color: var(--color-accent);
  font-family: var(--font-display);
}
.testimonial-card {
  background: #fffbe7;
  color: var(--color-dark-text);
  border-left: 10px solid var(--color-electric-yellow);
  box-shadow: 0 3px 18px rgba(35,70,122, 0.10);
}

/* === CONTACT, MAP BLOCK, UTILS === */
.contact-info {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.map-block {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}
.map-block img {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: var(--color-hot-pink);
  box-shadow: 0 2px 10px rgba(255,86,154,0.09);
  padding: 7px;
}
.map-block p {
  font-size: 1.07rem;
  color: var(--color-primary);
  font-family: var(--font-display);
}

/***** FOOTER *****/
footer {
  background: var(--color-primary);
  color: #fff;
  padding: 46px 0 24px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border-top-left-radius: 48px;
  border-top-right-radius: 48px;
  box-shadow: 0 -3px 16px rgba(33, 70, 122, 0.1);
}
footer img {
  height: 50px;
  margin-bottom: 10px;
  filter: drop-shadow(0 1.5px 6px #00CFFF44);
}
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 6px;
}
footer nav a {
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.18s, color 0.15s;
}
footer nav a:hover,
footer nav a:focus {
  background: var(--color-accent);
  color: var(--color-electric-yellow);
}
.address-block {
  font-size: 0.98rem;
  text-align: center;
  color: #f6e7c5;
  font-family: var(--font-body);
  margin-top: 7px;
  line-height: 1.7;
}
.address-block p {
  color: #f6e7c5;
}
.address-block a { color: var(--color-electric-yellow); }
.address-block a:hover { color: var(--color-hot-pink); }

@media (max-width: 600px) {
  footer { padding: 24px 0 14px 0; font-size: 0.93rem; }
  footer nav { gap: 8px; }
  .address-block br { display: none; }
}


/***** BUTTON STYLES *****/
button, .btn {
  font-family: var(--font-display);
  font-weight: 800;
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 12px 24px;
  cursor: pointer;
  font-size: 1.05rem;
  transition: background 0.17s, transform 0.12s, box-shadow 0.18s;
  box-shadow: 0 2px 12px rgba(33,136,91,0.09);
}
button:hover, .btn:hover, button:focus, .btn:focus {
  background: var(--color-hot-pink);
  color: #fff;
  transform: translateY(-1.5px) scale(1.02);
}

/***** UTILITY & GENERAL *****/
.text-section {
  margin: 10px 0 6px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.text-section ul, .content-wrapper ul {
  margin-top: 12px;
  gap: 13px;
}
.text-section li, .content-wrapper li {
  margin-left: 14px;
}

.cta {
  background: linear-gradient(90deg, var(--color-cool-cyan) 10%, var(--color-hot-pink) 98%);
  text-align: center;
  border-radius: 28px;
  box-shadow: 0 2px 22px rgba(33, 70, 122, 0.04);
  margin-bottom: 40px;
  padding: 40px 0;
}
.cta .cta-primary {
  font-size: 1.22rem;
  padding: 18px 36px;
}

/***** MODAL + COOKIE CONSENT *****/
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--color-hot-pink);
  color: #fff;
  padding: 24px 18px 20px 18px;
  box-shadow: 0 -2px 28px rgba(33,70,122,0.20);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 1.06rem;
  animation: cookie-fadein 0.8s cubic-bezier(0.66,0,0.58,1);
}
@keyframes cookie-fadein {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: var(--font-display);
  background: var(--color-cool-cyan);
  color: var(--color-primary);
  border: none;
  border-radius: 16px;
  padding: 9px 22px;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, color 0.14s, transform 0.1s;
  box-shadow: 0 2px 10px rgba(0,207,255,0.11);
}
.cookie-btn:hover,
.cookie-btn:focus {
  background: var(--color-accent);
  color: #fff;
}

.cookie-btn.reject {
  background: var(--color-primary);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--color-electric-yellow);
  color: var(--color-primary);
  font-weight: 800;
}
.cookie-btn.settings:hover,
.cookie-btn.settings:focus {
  background: var(--color-hot-pink);
  color: #fff;
}

.cookie-modal-overlay {
  position: fixed;
  z-index: 10000;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(35,70,122,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.18s;
}
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: var(--color-primary);
  border-radius: 24px;
  box-shadow: 0 8px 44px rgba(33,70,122,0.17);
  max-width: 98%;
  width: 420px;
  padding: 36px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  animation: modalScale .36s cubic-bezier(0.4,1.1,0.3,1);
}
@keyframes modalScale {
  from { opacity: 0; transform: scale(0.85);} 
  to   { opacity: 1; transform: scale(1); }
}
.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}
.cookie-modal-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-hot-pink);
}
.cookie-modal-close {
  font-size: 1.6rem;
  background: none;
  border: none;
  color: var(--color-hot-pink);
  cursor: pointer;
  padding: 1px 8px;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: var(--color-accent);
}
.cookie-categories {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-secondary);
  border-radius: 15px;
  padding: 11px 16px;
  font-size: 1.02rem;
  color: var(--color-primary);
  font-family: var(--font-body);
}
.cookie-category-essential {
  opacity: 0.58;
  font-style: italic;
}
.toggle-switch {
  width: 44px;
  height: 26px;
  background: var(--color-cool-cyan);
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.14s;
  flex-shrink: 0;
}
.toggle-switch input {
  display: none;
}
.toggle-slider {
  position: absolute;
  left: 3px; top: 3px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.18s cubic-bezier(.72,0,.46,1), background 0.15s;
  box-shadow: 0 1px 2px rgba(33,70,122,0.10);
}
.toggle-switch input:checked + .toggle-slider {
  left: 21px;
  background: var(--color-accent);
}
.toggle-switch:active .toggle-slider {
  background: var(--color-hot-pink);
}

.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/***** RESPONSIVE UTILITY *****/
@media (max-width: 600px) {
  .cookie-modal { padding: 20px 4px 24px 8px; }
  .cookie-modal-title { font-size: 1.13rem; }
  .cookie-category { font-size: 0.97rem; }
}

/* === VIBRANT & ENERGETIC DECORATIVE EFFECTS === */
/* Electric highlights */
.feature-icons img,
.cta-primary,
.card {
  /* Touch of vibrance */
  box-shadow: 0 1px 18px #00cfff1c, 0 2px 32px #ff529a0a;
}
.card {
  border-left: 7px solid var(--color-cool-cyan);
  border-right: 5px solid var(--color-hot-pink);
}
.card:hover {
  border-left: 7px solid var(--color-hot-pink);
  border-right: 5px solid var(--color-cool-cyan);
}

/***** SCROLLBAR *****/
::-webkit-scrollbar {
  width: 13px;
  background: var(--color-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--color-hot-pink);
  border-radius: 8px;
}

/***** FOCUS VISIBLE *****/
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2.5px;
}

/***** MISCELLANEOUS *****/
hr {
  box-sizing: content-box;
  height: 1px;
  border: none;
  background: var(--color-electric-yellow);
  margin: 28px 0 32px 0;
}

/***** Animations for buttons and cards *****/
.cta-primary, button, .btn, .card, .feature-icons img, .cookie-btn {
  transition: background 0.18s, color 0.16s, box-shadow 0.20s, transform 0.15s;
}
section {
  padding: 20px 0;
}
/* === END OF CSS === */
