/* 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.6;
  font-family: 'Open Sans', Arial, sans-serif;
  background: #F8FAFC;
  color: #253047;
  min-height: 100vh;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: 0;
}
a {
  background: none;
  color: #3689B2;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #253047;
  text-decoration: underline;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
  line-height: 1.5;
}
strong { font-weight: 700; }

:root {
  --color-primary: #253047;
  --color-secondary: #6AA3C7;
  --color-accent: #E6EDF3;
  --color-bg: #F8FAFC;
  --color-white: #fff;
  --color-black: #10141F;
  --font-display: 'Roboto Slab', serif;
  --font-body: 'Open Sans', Arial, sans-serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  background-color: var(--color-bg);
  color: var(--color-primary);
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

header {
  background: var(--color-accent);
  box-shadow: 0 8px 32px rgba(106,163,199,0.09);
  position: sticky;
  top: 0;
  z-index: 40;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  gap: 24px;
}
header img {
  height: 46px;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--color-primary);
  padding: 6px 10px;
  border-radius: 7px;
  letter-spacing: 0.02em;
  position: relative;
  transition: background 0.2s, color 0.2s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  outline: none;
}

.cta-btn {
  font-family: var(--font-display);
  background: var(--color-secondary);
  color: #fff;
  border: none;
  border-radius: 28px;
  padding: 12px 32px;
  font-size: 17px;
  font-weight: bold;
  letter-spacing: 0.015em;
  margin-left: 12px;
  box-shadow: 0 4px 18px rgba(49,140,189,0.10);
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.24s;
  cursor: pointer;
  position: relative;
}
.cta-btn:hover, .cta-btn:focus {
  background: #3689B2;
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 10px 26px rgba(49,140,189,0.14);
}

.mobile-menu-toggle {
  display: none;
  background: var(--color-primary);
  color: var(--color-accent);
  border: none;
  font-size: 32px;
  border-radius: 10px;
  width: 46px;
  height: 46px;
  margin-left: 12px;
  cursor: pointer;
  transition: background 0.22s, color 0.22s;
  z-index: 102;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-secondary);
  color: #fff;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(24,46,76,0.97);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100vw);
  transition: transform 0.38s cubic-bezier(.8,.2,.2,1);
  padding-top: 44px;
  will-change: transform;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--color-accent);
  font-size: 32px;
  align-self: flex-end;
  margin: 20px 24px 0 0;
  cursor: pointer;
  z-index: 101;
  padding: 8px;
  transition: color 0.2s, background 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: var(--color-secondary);
  color: var(--color-white);
  border-radius: 7px;
}

.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 44px;
  padding-left: 32px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--color-accent);
  padding: 8px 0;
  border-radius: 8px;
  transition: all 0.25s;
}
.mobile-nav a:focus, .mobile-nav a:hover {
  color: var(--color-secondary);
  background: rgba(230,237,243,0.09);
}

main {
  min-height: 60vh;
  padding-bottom: 60px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.hero {
  background: linear-gradient(99deg, #E6EDF3 90%, #fff 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  border-bottom-left-radius: 35px 70px;
  border-bottom-right-radius: 35px 70px;
  box-shadow: 0 6px 18px rgba(49,140,189,0.04);
}
.hero .container {
  position: relative;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.3rem;
  line-height: 1.12;
  color: var(--color-primary);
  text-shadow: 1px 1px 0 var(--color-accent);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}
.subheadline {
  color: var(--color-secondary);
  font-size: 1.25rem;
  margin-bottom: 24px;
  font-weight: 500;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.text-section {
  max-width: 700px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  gap: 20px;
}
.text-section h1, .text-section h2, .text-section h3 {
  text-align: center;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: 0.01em;
}
h1 { font-size: 2.2rem; font-weight: 900; }
h2 { font-size: 1.55rem; font-weight: 800; margin-bottom: 18px; margin-top: 22px; }
h3 { font-size: 1.22rem; font-weight: 700; }
h4 { font-size: 1.06rem; font-weight: 600; }

p { font-size: 1rem; margin-bottom: 12px; }

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin: 38px 0 8px 0;
}
.feature-card {
  background: #fff;
  border-radius: 22px;
  border: 2px solid var(--color-accent);
  box-shadow: 0 6px 20px rgba(106,163,199,0.1), 0 1.5px 6px rgba(49,140,189,0.09);
  padding: 32px 25px 27px 25px;
  flex: 1 1 310px;
  min-width: 270px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
  transition: border-color 0.23s, box-shadow 0.25s, transform 0.21s;
}
.feature-card img {
  width: 48px;
  height: 48px;
  margin-bottom: 7px;
  filter: drop-shadow(0 0 3px #6AA3C7);
}
.feature-card h3 {
  font-size: 1.17rem;
  margin-bottom: 2px;
  color: var(--color-secondary);
}
.feature-card p {
  margin-bottom: 0;
  font-size: 15px;
  color: var(--color-primary);
}
.feature-card a {
  margin-top: 12px;
  color: var(--color-secondary);
  font-weight: 600;
  transition: color 0.18s;
}
.feature-card:hover, .feature-card:focus-within {
  border-color: var(--color-secondary);
  box-shadow: 0 18px 34px rgba(49,140,189,0.13);
  transform: translateY(-5px) scale(1.025);
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 10px rgba(106,163,199,0.08);
  margin-bottom: 20px;
  padding: 28px 22px;
  position: relative;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.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;
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(49,140,189,0.12);
  border-left: 5px solid var(--color-secondary);
  margin: 30px 0;
  max-width: 540px;
  color: #222;
  font-size: 1.015rem;
}
.testimonial-card p {
  font-style: italic;
  margin-bottom: 0;
  color: #253047;
}
.testimonial-card strong {
  font-weight: bold;
  color: var(--color-secondary);
  margin-left: 16px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.quick-links {
  margin-top: 24px;
  background: var(--color-accent);
  border-radius: 8px;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(49,140,189,0.06);
}
.quick-links a{
  color: var(--color-secondary);
  font-weight: 600;
}

.topics-filter {
  margin-top: 36px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.topics-filter ul, .topics-filter li {
  display: inline;
  margin: 0 6px 0 0;
  padding: 0;
}
.topics-filter a {
  background: var(--color-accent);
  color: var(--color-secondary);
  border-radius: 20px;
  padding: 3px 18px;
  margin-right: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  transition: background 0.21s, color 0.21s;
}
.topics-filter a:hover, .topics-filter a:focus {
  background: var(--color-secondary);
  color: #fff;
}

.cta {
  background: linear-gradient(90deg, var(--color-secondary) 20%, var(--color-accent) 100%);
  border-radius: 26px;
  padding: 40px 0 45px 0;
  margin-bottom: 60px;
  box-shadow: 0 8px 36px rgba(106,163,199,0.12);
}
.cta .cta-btn {
  background: var(--color-primary);
  color: #fff;
  margin-top: 22px;
}
.cta .cta-btn:hover, .cta .cta-btn:focus {
  background: #38466E;
}

footer {
  background: var(--color-accent);
  color: var(--color-primary);
  border-top-left-radius: 55px 30px;
  border-top-right-radius: 40px 17px;
  padding-top: 36px;
  font-size: 15px;
  box-shadow: 0 -2px 15px rgba(49,140,189,0.07);
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 18px;
}
.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.footer-nav a {
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 14px;
  padding: 4px 10px;
  transition: background 0.20s, color 0.19s;
  border-radius: 5px;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-white);
  background: var(--color-secondary);
}
.contact-box p, .contact-box a {
  color: #1a242f;
  font-size: 14px;
}
.contact-box a {
  text-decoration: underline dotted;
}
.contact-box a:hover {
  color: var(--color-secondary);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  color: var(--color-primary);
  padding: 22px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  box-shadow: 0 -6px 32px rgba(49,140,189,0.09);
  z-index: 1100;
  font-size: 16px;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  animation: cookieBannerIn 0.55s cubic-bezier(.79,.04,.17,.92);
}
@keyframes cookieBannerIn {
  from { transform: translateY(90px); opacity: 0; }
  to   { transform: translateY(0);   opacity: 1; }
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}
.cookie-btn {
  border: none;
  border-radius: 19px;
  font-family: var(--font-display);
  font-size: 15px;
  padding: 8px 25px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.22s, color 0.22s, transform 0.13s;
}
.cookie-accept {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #3689B2;
}
.cookie-reject {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1.7px solid var(--color-secondary);
}
.cookie-reject:hover, .cookie-reject:focus {
  background: var(--color-secondary);
  color: #fff;
}
.cookie-settings {
  background: #fff;
  color: var(--color-secondary);
  border: 1.7px solid var(--color-secondary);
}
.cookie-settings:hover, .cookie-settings:focus {
  background: var(--color-secondary);
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(41,69,110,0.61);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInCookieModal 0.33s ease;
}
@keyframes fadeInCookieModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 10px 36px rgba(42,70,98,0.18);
  max-width: 420px;
  width: 96vw;
  padding: 34px 30px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: cookieModalIn 0.45s cubic-bezier(.41,.01,.73,1.1);
}
@keyframes cookieModalIn {
  from { transform: scale(0.83); opacity: 0.4; }
  to   { transform: scale(1); opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.28rem;
  margin-bottom: 5px;
  color: var(--color-secondary);
}
.cookie-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-accent);
  border-radius: 13px;
  padding: 10px 14px;
  margin-bottom: 8px;
  font-size: 15px;
}
.cookie-toggle {
  margin-left: 12px;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 10px;
}

/* FORM ELEMENTS */
input, select, textarea, button {
  font-family: var(--font-body);
  font-size: 16px;
}
input, select, textarea {
  border-radius: 7px;
  border: 1.2px solid var(--color-secondary);
  padding: 8px 12px;
  margin-bottom: 20px;
  background: #f1f6fa;
  color: var(--color-primary);
  width: 100%;
  transition: border-color 0.18s, box-shadow 0.19s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 2px var(--color-secondary)44;
}

/* List Styles with Artistic Touches */
ul li {
  position: relative;
  padding-left: 20px;
}
ul li::before {
  content: '';
  position: absolute;
  left: 2px; top: 9px;
  width: 8px; height: 8px;
  background: var(--color-secondary);
  border-radius: 50%;
  opacity: 0.77;
  box-shadow: 0 0 2px 1px #6AA3C744;
}

/* Artistic Font, Drop Shadow and Accent Borders */

h1, h2, h3, .cta-btn, .mobile-menu-toggle, .main-nav a, .footer-nav a {
  font-family: var(--font-display), serif;
  letter-spacing: 0.02em;
}
h1, h2, h3 {
  text-shadow: 1.2px 1.2px 0px #E6EDF344;
}

/* Unique Artistic Accent for Section Titles */
h2::after {
  content: '';
  display: block;
  margin: 9px auto 0 auto;
  width: 36px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg,#6AA3C7 65%, #253047 100%);
  opacity: 0.3;
}

/* Spacing and Alignment Patterns (Flex-Only) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.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;
}

/* Responsive Design (Mobile-First) */
@media (max-width: 1024px) {
  .feature-grid, .card-container, .content-grid, .footer .container {
    flex-direction: column;
    gap: 18px;
  }
  .main-nav {
    gap: 15px;
  }
  .feature-card{max-width:100%;}
  footer .container{gap:16px;}
}
@media (max-width: 880px) {
  .container, main {
    padding-left: 8px; padding-right: 8px;
  }
  .feature-grid{
    gap:14px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    gap: 7px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .footer-nav{
    gap:10px;
  }
  .feature-grid,.card-container,.content-grid{
    flex-direction: column;
    gap: 17px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }
  .hero,.section{
    padding:24px 6px;
  }
  .footer .container {
    flex-direction: column;
    gap:16px;
  }
  .testimonial-card{
    flex-direction: column;
    gap:9px;
    padding:14px;
  }
}
@media (max-width: 480px) {
  .container{padding-left:2px;padding-right:2px;}
  h1 { font-size: 1.37rem; }
  h2 { font-size: 1.13rem; }
  h3 { font-size: 1.06rem; }
  .feature-card { padding: 19px 9px 14px 9px; }
  .cta-btn {
    padding: 10px 19px;
    font-size: 15px;
  }
}

/* Artistic Touches & Effects */
.feature-card::before {
  content:'';
  position: absolute;
  top: -12px; right: -12px;
  width: 24px; height: 24px;
  background: var(--color-secondary);
  opacity: 0.06;
  border-radius: 50%;
  z-index: 0;
}
.feature-card:hover::before {
  opacity: 0.17;
}

.cta-btn {
  box-shadow: 0 5px 22px rgba(106,163,199,.16);
  text-shadow: 0 1px 0 #2222ff11;
  position: relative;
  overflow: hidden;
}
.cta-btn::after {
  content: '';
  position: absolute;
  left: 0; top:0; right:0; bottom:0;
  opacity: 0.09;
  background: repeating-linear-gradient( 120deg, #253047 0 4px, transparent 4px 13px );
  pointer-events: none;
  transition: opacity 0.17s;
}
.cta-btn:hover::after {
  opacity: 0.18;
}

/* Misc */
::-webkit-input-placeholder { color: #9bafbc; }
::-moz-placeholder { color: #9bafbc; }
:-ms-input-placeholder { color: #9bafbc; }
::placeholder { color: #9bafbc; }

/* Hide cookie elements by default, shown with JS */
.cookie-banner, .cookie-modal-backdrop { display: none; }
.cookie-banner.show, .cookie-modal-backdrop.show { display: flex; }

/* Utilities */
.hide { display: none !important; }

/* ======== END OF CSS ======== */
