/* CSS RESET AND 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 {
  scroll-behavior: smooth;
}

body {
  background: #F4F7F8;
  color: #1A5665;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 8px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A5665;
  line-height: 1.2;
  font-weight: 700;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
}

a {
  color: #40999F;
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
a:focus {
  outline: 2px dotted #1A5665;
  outline-offset: 2px;
}
a:hover {
  color: #0e2d34;
  text-decoration: underline;
}

strong {
  color: #1A5665;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

.content-wrapper {
  width: 100%;
}
.text-section {
  max-width: 700px;
  margin: 0 auto 40px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px 0 rgba(26,86,101,0.06);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  min-width: 260px;
  flex: 1 1 260px;
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover {
  transform: translateY(-4px) scale(1.02) rotate(-0.5deg);
  box-shadow: 0 8px 32px rgba(24,67,80,0.13);
}

.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;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(64,153,159,0.13);
  min-width: 250px;
  max-width: 410px;
  margin-bottom: 20px;
  font-size: 1rem;
  position: relative;
  border-left: 6px solid #40999F;
}
.testimonial-card p {
  color: #232526;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card span {
  color: #1A5665;
  font-weight: 600;
  font-size: 1em;
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 20px 18px 20px 30px;
  border-radius: 15px;
  background: #F4F7F8;
  box-shadow: 0 2px 8px 0 rgba(26,86,101,0.04);
  margin-bottom: 20px;
}

/* HEADER + NAVIGATION */
header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(64,153,159,0.06);
  padding: 0;
  width: 100%;
  z-index: 100;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo img {
  height: 48px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #1A5665;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
  transition: color 0.18s, background 0.18s;
}
.main-nav a.button-primary {
  background: #40999F;
  color: #fff;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 18px;
  box-shadow: 0 2px 10px 0 rgba(64,153,159,0.08);
  text-shadow: 0 1px 2px rgba(26,86,101,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  border: none;
}
.main-nav a.button-primary:hover {
  background: #1A5665;
  color: #F4F7F8;
  box-shadow: 0 6px 20px rgba(26,86,101,0.10);
}
.main-nav a:hover,
.main-nav a:focus {
  background: #F4F7F8;
  color: #40999F;
}
.main-nav a.button-primary:focus {
  outline: 2px solid #40999F;
}

/* BURGER MENU (MOBILE) */
.mobile-menu-toggle {
  background: #40999F;
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 8px 14px;
  border-radius: 10px;
  display: none;
  cursor: pointer;
  transition: background 0.18s;
  z-index: 1001;
}
.mobile-menu-toggle:hover {
  background: #1A5665;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 40px rgba(26,86,101,0.22);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(.65,.02,.51,.98);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 28px 24px 24px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: #40999F;
  color: #fff;
  border: none;
  font-size: 2rem;
  border-radius: 9px;
  padding: 4px 16px 4px 8px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background 0.18s;
}
.mobile-menu-close:hover {
  background: #1A5665;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-nav a {
  color: #1A5665;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  background: #F4F7F8;
  border-radius: 10px;
  padding: 14px 18px;
  transition: background 0.18s, color 0.18s;
  margin-bottom: 4px;
}
.mobile-nav a:hover {   
  background: #40999F;
  color: #fff;
}

/* HERO SECTION */
.hero {
  background: #40999F;
  color: #fff;
  padding: 68px 0 48px 0;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  border-bottom-left-radius: 60px;
  border-bottom-right-radius: 30px;
  box-shadow: 0 10px 32px rgba(64,153,159,0.13);
  position: relative;
}
.hero .text-section {
  color: #fff;
}
.hero h1, .hero h2, .hero h3 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(26,86,101,0.08);
}
.hero p {
  color: #F4F7F8;
}

/* FEATURES */
.feature-grid .features-row,
.features-overview .features-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
  justify-content: space-between;
}
.feature {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(64,153,159,0.10);
  padding: 28px 22px 28px 22px;
  min-width: 220px;
  flex: 1 1 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.19s, transform 0.19s;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  border-left: 5px solid #40999F;
}
.feature img {
  width: 54px;
  margin-bottom: 20px;
}
.feature h3 {
  margin-bottom: 10px;
  color: #1A5665;
  font-size: 1.18rem;
}
.feature:hover {
  box-shadow: 0 8px 32px 0 rgba(26,86,101,0.17);
  transform: translateY(-5px) scale(1.03);
}

/* BLOG CARDS */
.post-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: start;
}
.post-preview {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 8px 0 rgba(26,86,101,0.09);
  padding: 22px 20px;
  flex: 1 1 260px;
  min-width: 240px;
  max-width: 350px;
  transition: box-shadow 0.15s, transform 0.13s;
  margin-bottom: 20px;
  font-family: 'Open Sans', Arial, sans-serif;
}
.post-preview:hover {
  box-shadow: 0 8px 32px 0 rgba(64,153,159,0.13);
  transform: translateY(-4px) scale(1.025) rotate(-0.3deg);
}

/* PRICE TABLE */
.price-table-section .content-wrapper {
  width: 100%;
  max-width: 900px;
}
.price-table {
  width: 100%;
  margin-bottom: 24px;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 13px;
  overflow: hidden;
  box-shadow: 0 2px 8px 0 rgba(26,86,101,0.07);
}
.price-table th, .price-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid #F4F7F8;
  font-family: 'Open Sans', Arial, sans-serif;
}
.price-table th {
  background: #1A5665;
  color: #fff;
  font-size: 1.12em;
}
.price-table tr:last-child td {
  border-bottom: none;
}
.price-table tbody tr:hover {
  background: #F4F7F8;
  transition: background 0.12s;
}

/* CTA BLOCK */
.cta-block {
  background: #40999F;
  border-radius: 40px;
  color: #fff;
  margin-bottom: 60px;
  padding: 56px 20px;
  text-align: center;
  box-shadow: 0 8px 40px 0 rgba(64,153,159,0.13);
}
.cta-block .text-section {
  color: #fff;
  gap: 18px;
}
.cta-block h2 {
  color: #fff;
}

/* BUTTONS */
.button-primary, .button-primary:visited {
  background: #1A5665;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 13px 36px;
  border-radius: 23px;
  border: none;
  font-size: 1.1rem;
  display: inline-block;
  box-shadow: 0 2px 10px 0 rgba(26,86,101,0.10);
  cursor: pointer;
  transition: background 0.19s, box-shadow 0.18s, transform 0.13s;
  text-shadow: 0 1px 1px rgba(26,86,101,0.10);
  margin-top: 12px;
}
.button-primary:hover,
.button-primary:focus {
  background: #40999F;
  box-shadow: 0 8px 20px rgba(64,153,159,0.13);
  transform: scale(1.05);
  outline: none!important;
}

/* FOOTER */
footer {
  background: #1A5665;
  color: #fff;
  font-size: 1rem;
  padding: 36px 0 20px 0;
  margin-top: 40px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}
.footer-nav a {
  color: #fff;
  opacity: 0.86;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1em;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.15s, color 0.17s;
}
.footer-nav a:hover {
  background: #fff;
  color: #40999F;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.97em;
  color: #F4F7F8;
}
.contact-details img {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}
.contact-details span {
  display: flex;
  align-items: center;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1A5665;
  color: #fff;
  padding: 28px 24px 24px 24px;
  z-index: 4000;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 18px;
  justify-content: space-between;
  box-shadow: 0 -4px 32px rgba(26,86,101,0.14);
  font-size: 1em;
  animation: slideUp 0.45s cubic-bezier(.57,.02,.38,.98);
}
@keyframes slideUp {
  0% { transform: translateY(150%); }
  100% { transform: translateY(0); }
}
.cookie-banner p {
  flex: 1 1 300px;
  margin-right: 24px;
  color: #F4F7F8;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 14px;
}
.cookie-banner button {
  border-radius: 15px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 10px 22px;
  font-size: 1em;
  cursor: pointer;
  margin-right: 4px;
  transition: background 0.13s;
}
.cookie-banner .accept {
  background: #40999F;
  color: #fff;
}
.cookie-banner .accept:hover {
  background: #15b7ae;
}
.cookie-banner .reject {
  background: #fff;
  color: #1A5665;
}
.cookie-banner .reject:hover {
  background: #40999F;
  color: #fff;
}
.cookie-banner .settings {
  background: #F4F7F8;
  color: #1A5665;
}
.cookie-banner .settings:hover {
  background: #40999F;
  color: #fff;
}

/* COOKIE SETTINGS MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(26, 86, 101, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.18s;
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #1A5665;
  padding: 36px 30px 30px 30px;
  border-radius: 22px;
  max-width: 390px;
  width: 100%;
  box-shadow: 0 8px 36px 0 rgba(26,86,101,0.20);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  animation: popIn .2s cubic-bezier(.65,.02,.51,.98) 1;
}
@keyframes popIn {
  0% {transform: scale(.7) translateY(70px);}
  100% {transform: scale(1) translateY(0);}
}
.cookie-modal h2 {
  margin-bottom: 10px;
  font-size: 1.45em;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 13px;
}
.cookie-category input[type="checkbox"] {
  accent-color: #40999F;
  width: 18px;
  height: 18px;
  border-radius: 3px;
}
.cookie-category label {
  font-size: 1em;
}
.cookie-modal button {
  border-radius: 13px;
  border: none;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  padding: 9px 21px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.13s, color 0.13s;
  margin-right: 7px;
}
.cookie-modal .save {
  background: #40999F;
  color: #fff;
}
.cookie-modal .save:hover {
  background: #15b7ae;
}
.cookie-modal .cancel {
  background: #fff;
  color: #1A5665;
}
.cookie-modal .cancel:hover {
  background: #40999F;
  color: #fff;
}
.cookie-modal .always-on {
  color: #aaa;
  font-size: 0.99em;
}
.cookie-modal-close {
  position: absolute;
  top: 10px;
  right: 20px;
  background: none;
  color: #1A5665;
  border: none;
  font-size: 1.7em;
  cursor: pointer;
}
.cookie-modal-close:hover {
  color: #40999F;
}

/* THANK YOU SECTION */
.thank-you-section {
  background: #1A5665;
  color: #fff;
  padding: 84px 20px 64px 20px;
  text-align: center;
  min-height: 320px;
  border-radius: 36px;
  margin: 50px auto;
  box-shadow: 0 8px 40px 0 rgba(26,86,101,0.13);
}
.thank-you-section h1 {
  color: #fff;
}

/* ADDITIONAL RESPONSIVE STYLE FOR PAGE LAYOUTS */
@media (max-width: 1200px) {
  .container {
    max-width: 970px;
  }
}
@media (max-width: 998px) {
  .container {
    max-width: 760px;
  }
  .footer-nav {
    gap: 10px;
  }
}
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.3rem;
  }
  .container {
    max-width: 98vw;
    padding: 0 8px;
  }
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero, .cta-block, .thank-you-section {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 15px;
    border-radius: 28px;
    padding: 40px 0 32px 0;
  }
  .feature,
  .post-preview {
    min-width: 80vw;
    max-width: 98vw;
    flex: 1 1 90vw;
  }
  .feature-grid .features-row,
  .features-overview .features-row,
  .post-preview-grid,
  .testimonial-list {
    flex-direction: column;
    gap: 20px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 9px;
  }
  footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .testimonial-card,
  .feature-item,
  .card {
    min-width: 100%;
    padding: 18px 10px 18px 18px;
  }
  .card-container, .content-grid {
    flex-direction: column;
    gap: 20px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}
@media (max-width: 560px) {
  .hero,
  .cta-block,
  .thank-you-section {
    padding: 18vw 0 10vw 0;
    border-radius: 16px;
  }
  .container {
    padding: 0 4px;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 16px;
    padding: 19px 6px 18px 9px;
  }
  .cookie-banner .cookie-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .footer-nav {
    margin-bottom: 10px;
    font-size: 1em;
  }
  .contact-details span {
    font-size: 0.95em;
  }
}

/* ARTISTIC, CREATIVE ACCENTS */
.hero,
.cta-block,
.section {
  position: relative;
}
.hero::after,
.cta-block::before {
  content: '';
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  right: -40px;
  top: 15%;
  width: 180px;
  height: 180px;
  background: rgba(244,247,248, 0.13);
  border-radius: 49% 51% 50% 50%/64% 33% 67% 36%;
  box-shadow: 0 0 60px 40px #40999F22;
  filter: blur(8px);
}
.cta-block::before {
  left: -22px;
  bottom: -32px;
  width: 110px;
  height: 110px;
  background: rgba(64,153,159, 0.23);
  border-radius: 64% 44% 57% 47%/36% 42% 90% 64%;
  filter: blur(7px);
}

/* SCROLLBAR - Artistic color accent */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-thumb {
  background: #40999F;
  border-radius: 10px;
}
::-webkit-scrollbar-track {
  background: #F4F7F8;
}
body {
  scrollbar-color: #40999F #F4F7F8;
}

/* SELECTION */
::selection {
  background: #40999F;
  color: #fff;
}

/* FONTS: GOOGLE IMPORTS FOR ARTISTIC FEEL */
@import url('https://fonts.googleapis.com/css?family=Montserrat:700,600,500,400&display=swap');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

/* ARTISTIC TYPOGRAPHY VARIATION FOR CREATIVE FEEL ON HEADERS */
h1, h2, h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: 0.01em;
  text-rendering: geometricPrecision;
}
h2, h3 {
  background: linear-gradient(90deg, #1A5665 60%, #40999F 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
@media (max-width: 768px) {
  h1, h2, h3 {
    font-size: 1.2rem;
  }
}

/* FORMS & INPUTS */
input, textarea, select {
  font-family: 'Open Sans', Arial, sans-serif;
  border-radius: 10px;
  border: 1.5px solid #40999F;
  padding: 13px 14px;
  font-size: 1em;
  background: #fff;
  color: #1A5665;
  transition: border 0.18s, box-shadow 0.14s;
  margin-bottom: 18px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #1A5665;
  box-shadow: 0 2px 8px #40999F33;
}

button, input[type="submit"] {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  cursor: pointer;
  border: none;
  outline: none;
  padding: 13px 25px;
  border-radius: 18px;
  background: #1A5665;
  color: #fff;
  font-size: 1em;
  transition: background 0.18s;
}
button:hover, input[type="submit"]:hover {
  background: #40999F;
}

/* MISCELLANEOUS UTILS */
.nowrap {
  white-space: nowrap;
}
.mb-0 { margin-bottom: 0!important; }
.text-center { text-align: center!important; }
.text-left { text-align: left!important; }
.text-right { text-align: right!important; }

/* FLOATING DECORATIVE SHAPES (for artistic style, non-blocking) */
.section::after {
  content: '';
  display: block;
  position: absolute;
  left: 7%;
  bottom: -32px;
  width: 64px;
  height: 64px;
  background: rgba(244,247,248,0.21);
  border-radius: 58% 42% 53% 47%/70% 58% 80% 64%;
  z-index: 0;
  filter: blur(5px);
}

/* Responsive Table Overflow */
@media (max-width: 670px) {
  .price-table-section .content-wrapper {
    overflow-x: auto;
  }
  .price-table {
    min-width: 600px;
  }
}

/* Cleanup: REMOVE GAPS/MARGINS BETWEEN CARDS AND SECTIONS ON EDGE */
section:last-of-type {
  margin-bottom: 0;
}
footer {
  margin-bottom: 0;
}
