/* Karis Power - style.css | Soft Pastel Flexbox Theme */

/***********
 CSS RESET
***********/
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.5;
  background: #F8F9FA;
  color: #223D50;
}
ol, ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button {
  border: none;
  outline: none;
  background: none;
  font: inherit;
  cursor: pointer;
}

/*************************
 SOFT PASTEL COLOR PALETTE
**************************/
:root {
  --primary: #223D50;
  --secondary: #E8681C;
  --accent: #F3F7FA;
  --pastel-blue: #D6EFFF;
  --pastel-green: #D5F9E7;
  --pastel-orange: #FFE7CF;
  --pastel-violet: #DFD3FF;
  --pastel-pink: #FFE6EB;
  --pastel-yellow: #FFFAD6;
  --white: #fff;
  --black: #1c2340;
  --text: #223D50;
  --border: #E1EAF5;
  --shadow: rgba(34, 61, 80, 0.09);
  --card-radius: 18px;
  --section-radius: 26px;
}

/*************
 TYPOGRAPHY 
*************/
html {
  font-size: 16px;
}
body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  background: var(--accent);
  color: var(--text);
  font-weight: 400;
  letter-spacing: 0.01em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.14;
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem;
  line-height: 1.12;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
p, li, ul, ol {
  font-size: 1rem;
  color: var(--primary);
  line-height: 1.7;
}
strong { font-weight: 600; }

/************
 BUILT-IN CONTAINER
*************/
.container {
  width: 100%;
  max-width: 1080px;
  padding: 0 18px;
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/*****************
 HEADER & NAVIGATION
******************/
header {
  background: linear-gradient(90deg, #F3F7FA 55%, #D6EFFF 100%);
  box-shadow: 0 1px 8px var(--shadow);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 10;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 10px;
  transition: background 0.13s, color 0.13s;
  position: relative;
  z-index: 1;
}
nav a:hover, nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}
.cta-btn {
  font-family: 'Roboto Slab', Georgia, serif;
  background: var(--secondary);
  color: var(--white);
  font-size: 1.1rem;
  padding: 11px 32px;
  border-radius: 22px;
  font-weight: 700;
  margin-left: 8px;
  box-shadow: 0 3px 14px -4px var(--shadow);
  transition: background 0.18s, box-shadow 0.18s, transform 0.1s;
  box-sizing: border-box;
  border: none;
  letter-spacing: 0.01em;
}
.cta-btn:hover, .cta-btn:focus {
  background: #f17c37;
  color: var(--white);
  box-shadow: 0 4px 22px -6px var(--shadow);
  transform: translateY(-2px) scale(1.06);
}

/*****************
 MOBILE MENU
******************/
.mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--secondary);
  background: var(--pastel-orange);
  border-radius: 16px;
  padding: 5px 14px;
  margin-left: 8px;
  cursor: pointer;
  z-index: 30;
  transition: background 0.15s;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--pastel-pink);
}
.mobile-menu {
  display: none;
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: linear-gradient(120deg, #fff 80%, #D6EFFF 100%);
  box-shadow: 0 4px 24px var(--shadow);
  z-index: 9999;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(.51,.24,0,1), opacity 0.23s;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  font-size: 2rem;
  color: var(--secondary);
  background: none;
  border: none;
  align-self: flex-end;
  margin: 22px 26px 8px 0;
  z-index: 10001;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #ff9274;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100vw;
  padding: 14px 46px;
}
.mobile-nav a {
  color: var(--primary);
  font-size: 1.1rem;
  background: none;
  border-radius: 10px;
  padding: 10px 8px;
  font-family: 'Open Sans', Arial, sans-serif;
  margin: 0;
  width: 100%;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--pastel-blue);
  color: var(--secondary);
}

/********************************
 LAYOUT: SPACING & FLEXBOX PATTERNS
*********************************/
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--section-radius);
  background: var(--white);
  box-shadow: 0 3px 24px -10px var(--shadow);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--pastel-blue);
  border-radius: var(--card-radius);
  box-shadow: 0 2px 10px -2px var(--shadow);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow 0.17s, transform 0.12s;
}
.card:hover {
  box-shadow: 0 6px 32px -2px var(--shadow);
  transform: translateY(-3px) scale(1.017);
}
.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: 20px;
  padding: 20px;
  border-radius: 18px;
  background: var(--pastel-yellow);
  margin-bottom: 20px;
  min-width: 225px;
  box-shadow: 0 2px 18px -6px var(--shadow);
}
.testimonial-card p {
  font-size: 1.09rem;
  color: var(--black);
  font-style: italic;
  margin-bottom: 4px;
}
.testimonial-card strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--pastel-green);
  border-radius: var(--card-radius);
  padding: 24px 16px;
  margin-bottom: 20px;
}

/**********************
 GENERIC - MAIN STYLES
***********************/
main {
  min-height: 480px;
  margin-bottom: 30px;
}
section {
  margin-bottom: 54px;
}
section:last-child {
  margin-bottom: 0;
}
.content-wrapper > h2 {
  margin-bottom: 12px;
}

/**************
 HERO SECTION
***************/
.hero {
  margin-bottom: 46px;
  border-radius: 0 0 var(--section-radius) var(--section-radius);
  background: linear-gradient(122deg, var(--pastel-blue) 54%, var(--pastel-pink) 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 580px;
}
.hero h1 {
  color: var(--primary);
}
.hero p {
  margin-bottom: 12px;
  color: var(--text);
  font-size: 1.175rem;
}

/*************
 FEATURES (ul.feature-list)
**************/
.features {
  background: var(--pastel-green);
  border-radius: var(--section-radius);
  box-shadow: 0 1px 22px -6px var(--shadow);
}
.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin: 0;
  padding: 0;
  align-items: stretch;
  justify-content: flex-start;
}
.feature-list li {
  flex: 1 1 160px;
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 22px 18px 18px 18px;
  box-shadow: 0 1px 14px -7px var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 1.05rem;
  gap: 8px;
  min-width: 215px;
  margin-bottom: 16px;
  transition: box-shadow 0.14s, transform 0.12s;
}
.feature-list li img {
  height: 38px; width: 38px; margin-bottom: 5px;
  filter: drop-shadow(0 0 2px var(--pastel-blue));
}
.feature-list li strong {
  font-size: 1.08rem;
  color: var(--secondary);
  margin-bottom: 5px;
  font-family: 'Roboto Slab', Georgia, serif;
}
.feature-list li:hover {
  box-shadow: 0 4px 26px -2px var(--shadow);
  transform: translateY(-2px) scale(1.025);
}

/************
 SERVICES & ABOUT
*************/
.services {
  background: var(--pastel-orange);
  padding: 44px 20px;
  border-radius: var(--section-radius);
  box-shadow: 0 1px 16px -8px var(--shadow);
}
.services ul {
  padding: 0;
  margin-top: 5px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.services ul li {
  background: var(--white);
  border-radius: 16px;
  padding: 18px 16px 16px 16px;
  box-shadow: 0 0.5px 9px -3px var(--shadow);
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--primary);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.services ul li strong {
  color: var(--secondary);
  margin-right: 10px;
}
.services ul li span {
  background: var(--pastel-blue);
  color: var(--primary);
  font-size: 0.97rem;
  padding: 3px 13px;
  border-radius: 10px;
  margin-left: 8px;
}
.text-section {
  margin-bottom: 15px;
  color: var(--text);
}
.about {
  background: var(--pastel-pink);
  padding: 44px 20px;
  border-radius: var(--section-radius);
  box-shadow: 0 1px 16px -9px var(--shadow);
  margin-bottom: 44px;
}
.about ul {
  padding-left: 18px;
}
.about li {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

/*****************
 CTA SECTION
******************/
.cta {
  background: linear-gradient(102deg, var(--pastel-violet) 80%, var(--pastel-pink) 100%);
  padding: 38px 18px;
  margin-top: 38px;
  border-radius: var(--section-radius);
  box-shadow: 0 1px 18px -7px var(--shadow);
  text-align: center;
}
.cta .content-wrapper {
  align-items: center;
  gap: 18px;
}
.cta h2 {
  margin-bottom: 10px;
}
.cta .cta-btn {
  margin-top: 6px;
}

/********************
 TESTIMONIALS SECTION
*********************/
.testimonials {
  background: var(--pastel-yellow);
  border-radius: var(--section-radius);
  box-shadow: 0 1px 18px -7px var(--shadow);
  padding: 38px 18px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}
.testimonial-card {
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 2px 18px -6px var(--shadow);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 17px;
  min-width: 215px;
  max-width: 340px;
  transition: transform 0.13s, box-shadow 0.13s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 28px -2px var(--shadow);
  transform: translateY(-2px) scale(1.021);
}
.testimonial-card p {
  font-style: italic;
  color: var(--text);
}
.testimonial-card strong {
  color: var(--primary);
  font-size: 1rem;
}

/****************
 CONTACT SECTION
*****************/
.contact {
  background: var(--pastel-blue);
  border-radius: var(--section-radius);
  box-shadow: 0 1px 16px -10px var(--shadow);
  padding: 42px 18px;
}
.contact .text-section {
  font-size: 1.06rem;
  color: var(--primary);
  margin-bottom: 8px;
}

/****************
 FOOTER SECTION
*****************/
footer {
  background: linear-gradient(90deg, #E6E8F5 65%, #F8EFFF 100%);
  padding: 40px 0 15px 0;
  color: var(--text);
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
footer nav {
  display: flex;
  gap: 22px;
}
footer nav a {
  color: var(--primary);
  font-size: 1rem;
  padding: 4px 9px;
  border-radius: 9px;
  transition: background 0.12s;
}
footer nav a:hover {
  background: var(--pastel-blue);
  color: var(--secondary);
}
footer p {
  font-size: 0.98rem;
  margin-top: 7px;
}

/***********************
 STATIC CONTENT SECTIONS
***********************/
.privacy-policy, .gdpr, .cookies-policy, .terms, .thank-you {
  background: var(--pastel-blue);
  border-radius: var(--section-radius);
  box-shadow: 0 1px 22px -10px var(--shadow);
  margin: 54px 0;
  padding: 48px 20px;
}
.privacy-policy h1, .gdpr h1, .cookies-policy h1, .terms h1, .thank-you h1 {
  margin-bottom: 20px;
  color: var(--secondary);
}
.privacy-policy h2, .gdpr h2, .cookies-policy h2, .terms h2 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 1.22rem;
}
.privacy-policy p, .gdpr p, .cookies-policy p, .terms p {
  margin-bottom: 14px;
  color: var(--primary);
}
.text-section ul {
  margin: 9px 0 9px 24px;
  list-style-type: disc;
  color: var(--text);
}
.text-section li {
  margin-bottom: 7px;
}

/*********************************
 BUTTONS & INTERACTION EFFECTS
**********************************/
button, .cta-btn, .mobile-menu-toggle {
  transition: background 0.16s, color 0.13s, box-shadow 0.13s, transform 0.12s;
}

@media (hover: hover) and (pointer: fine) {
  button:not(.cookie-btn):hover,
  .cta-btn:hover, 
  .mobile-menu-toggle:hover {
    transform: scale(1.045);
    box-shadow: 0 7px 21px -6px var(--shadow);
  }
}

/**************************************
 RESPONSIVE DESIGN - FLEX DIRECTION
***************************************/
@media (max-width: 991px) {
  .container { padding: 0 8px; }
  .content-wrapper { gap: 11px; }
  .feature-list { gap: 13px; }
  .testimonial-list { gap: 13px; }
  .section, .about, .contact, .services, .testimonials, .privacy-policy, .gdpr, .cookies-policy, .terms, .thank-you {
    padding: 28px 6px;
  }
}
@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }
  nav { display: none; }
  .cta-btn { margin-top: 0; }
  .mobile-menu-toggle {
    display: inline-flex;
  }
  .hero, .features, .testimonials, .cta, .services, .about, .contact, .privacy-policy, .gdpr, .cookies-policy, .terms, .thank-you {
    padding: 22px 4px;
    border-radius: 18px;
  }
  .feature-list,
  .testimonial-list {
    flex-direction: column;
    gap: 15px;
  }
  .content-wrapper {
    gap: 8px;
  }
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
  .content-grid { flex-direction: column; gap: 15px; }
  .card-container { flex-direction: column; gap: 15px; }
  .card { min-width: unset; }
  .testimonial-card { min-width: unset; max-width: 100%; }
  .feature-list li { min-width: unset; }
}
@media (max-width: 600px) {
  h1 { font-size: 1.45rem; }
  h2 { font-size: 1.13rem; }
  .logo img { height: 32px; }
  .section, .about, .contact, .services, .testimonials, .privacy-policy, .gdpr, .cookies-policy, .terms, .thank-you {
    padding: 12px 2px;
    border-radius: 10px;
  }
  .card, .testimonial-card, .feature-item {
    border-radius: 12px;
    padding: 12px 8px;
  }
  footer .container { gap: 6px; }
}

/******************************************
 COOKIE CONSENT BANNER & MODAL COMPONENTS
*******************************************/
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  background: var(--pastel-violet);
  color: var(--text);
  padding: 16px 16px 16px 16px;
  box-shadow: 0 -2px 16px -5px var(--shadow);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  display: flex;
  align-items: center;
  gap: 32px;
  z-index: 99998;
  justify-content: space-between;
  flex-wrap: wrap;
  opacity: 1;
  transition: transform 0.28s, opacity 0.22s;
}
.cookie-banner.hide {
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
}
.cookie-banner p {
  font-size: 0.97rem;
  color: var(--primary);
  margin-right: 12px;
}
.cookie-banner .cookie-btn {
  padding: 8px 22px;
  margin-right: 6px;
  font-size: 1rem;
  border-radius: 15px;
  font-family: 'Roboto Slab', Georgia, serif;
  border: none;
  font-weight: 600;
  transition: background 0.14s, color 0.14s, box-shadow 0.13s;
  box-shadow: 0 1px 9px -2px var(--shadow);
  background: var(--secondary);
  color: var(--white);
  letter-spacing: 0.01em;
}
.cookie-btn-reject {
  background: var(--pastel-blue);
  color: var(--primary);
  border: 1px solid var(--secondary);
}
.cookie-btn-settings {
  background: var(--pastel-pink);
  color: var(--secondary);
  border: 1px solid var(--secondary);
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #f17c37;
  color: var(--white);
  box-shadow: 0 2px 15px -2px var(--shadow);
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #c8e3ff;
  color: var(--secondary);
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #ffe0e7;
  color: var(--secondary);
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  z-index: 99999;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(34,61,80,0.23);
  align-items: center;
  justify-content: center;
}
.cookie-modal-overlay.open { display: flex; }
.cookie-modal {
  background: var(--white);
  border-radius: 17px;
  box-shadow: 0 6px 32px -2px var(--shadow);
  max-width: 400px;
  width: 93vw;
  padding: 36px 28px;
  position: relative;
  animation: fadeInModal 0.33s;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal h2 {
  font-size: 1.13rem;
  color: var(--secondary);
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 1rem;
}
.cookie-category label {
  font-size: 1rem;
  margin-right: 12px;
}
.cookie-toggle {
  appearance: none;
  width: 36px;
  height: 19px;
  background: var(--pastel-blue);
  border-radius: 17px;
  position: relative;
  transition: background 0.16s;
  cursor: pointer;
  outline: none;
}
.cookie-toggle:checked {
  background: var(--secondary);
}
.cookie-toggle::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 1.5px 4px var(--shadow);
  position: absolute;
  top: 1.5px;
  left: 3px;
  transition: left 0.18s;
}
.cookie-toggle:checked::before {
  left: 17px;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 14px; right: 17px;
  font-size: 1.45rem;
  color: var(--secondary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.19s;
}
.cookie-modal .close-cookie-modal:hover, .cookie-modal .close-cookie-modal:focus {
  color: #c24c23;
}
@keyframes fadeInModal {
  0% { opacity: 0; transform: scale(0.95) translateY(18px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

/*********************
 UTILS & HELPER CLASSES
**********************/
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }
.text-center { text-align: center !important; }
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-center { align-items: center !important; }
.gap-20 { gap: 20px !important; }

/*******************
 HIDE/SHOW UTILS
********************/
.hide { display: none !important; }
.show { display: block !important; }

/*********************************
   END OF Karis Power STYLE.CSS
**********************************/
