/* 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,
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;
}

/* HTML5 display-role reset for older browsers */
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section {
  display: block;
}
body {
  line-height: 1.4;
  background: #F4F8FB; /* brand secondary color */
  color: #1e1900;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
  border: 0;
}
a {
  color: #216869;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
a:hover, a:focus {
  color: #FFB703; /* accent */
}
ul, ol {
  padding-left: 20px;
  margin-top: 8px;
  margin-bottom: 8px;
}
li {
  margin-bottom: 6px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: #216869;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  margin-bottom: 12px;
}
h1 { font-size: 2.6rem; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1.5px; }
h2 { font-size: 2rem; line-height: 1.2; margin-bottom: 18px; letter-spacing: -1px; }
h3 { font-size: 1.4rem; line-height: 1.25; margin-bottom: 14px; letter-spacing: -0.5px; }
h4, h5, h6 { font-size: 1.1rem; margin-bottom: 10px; }
p {
  color: #1e1900;
  margin-bottom: 10px;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
strong, b { font-weight: bold; }

/* Artistic Touch: Handwritten/Creative Accent Headings */
h1, h2, h3 {
  position: relative;
  background: linear-gradient(90deg, #216869 60%, #FFB703 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  letter-spacing: 1px;
}

/* Container Patterns */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  width: 100%;
}

/* Artistic accents: Dotted lines and splashes */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 10px 22px 0 rgba(33,104,105,0.11);
  position: relative;
}
.section:after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #FFB703;
  border-radius: 4px;
  margin-top: 28px;
}

.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.text-section {
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Hero Section */
.hero {
  background: #216869;
  color: #fff;
  padding: 68px 0 64px 0;
  position: relative;
  border-bottom-left-radius: 60px 32px;
  border-bottom-right-radius: 60px 32px;
  box-shadow: 0 20px 50px 0 rgba(33,104,105,0.08);
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero h1, .hero p {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  text-fill-color: #fff;
}
.hero .btn-primary {
  margin-top: 24px;
}

/* Accent Buttons */
.btn-primary {
  display: inline-block;
  background: #FFB703;
  color: #216869;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  border: none;
  border-radius: 28px;
  box-shadow: 0 4px 20px 0 rgba(255,183,3,0.14);
  padding: 12px 36px;
  margin-top: 12px;
  cursor: pointer;
  letter-spacing: 0.05em;
  transition: background 0.25s, box-shadow 0.25s, color 0.13s;
  position: relative;
  z-index: 1;
}
.btn-primary:after {
  content: '';
  display: block;
  position: absolute;
  left: 15px; top: 50%;
  width: 8px; height: 8px;
  background: #216869;
  border-radius: 50%;
  opacity: 0.3;
  transform: translateY(-50%) scale(0.8);
  z-index: -1;
}
.btn-primary:hover, .btn-primary:focus {
  background: #216869;
  color: #FFB703;
  box-shadow: 0 12px 32px 0 rgba(33,104,105,0.15);
}
.btn-primary:active {
  background: #184E4F;
}

/* Main Navigation */
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 24px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #216869;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background .18s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #FFB703;
  color: #1e1900;
}
.main-nav .btn-primary {
  margin: 0 0 0 10px;
  min-width: 140px;
  font-size: 1.07rem;
}

header img {
  height: 48px;
}

/* Responsive burger menu trigger */
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #216869;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  margin-left: 10px;
  line-height: 1;
  z-index: 2002;
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  padding-top: 40px;
  padding-right: 36px;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.89,.13,.2,1.16), opacity 0.3s;
  box-shadow: 0 12px 50px 0 rgba(33,104,105,0.17);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: #FFB703;
  color: #216869;
  border: none;
  font-size: 2.1rem;
  cursor: pointer;
  margin-bottom: 36px;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #216869;
  color: #fff;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  width: 240px;
  padding: 28px 0 0 0;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.15rem;
  color: #216869;
  background: none;
  font-weight: 700;
  padding: 12px 8px 12px 2px;
  border-radius: 6px;
  width: 100%;
  transition: background 0.15s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #FFB703;
  color: #1e1900;
}
.mobile-nav .btn-primary {
  align-self: flex-start;
  margin: 12px 0 0 0;
  width: 100%;
}

/* Sections, Cards and Flex Containers */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.feature-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px 0 rgba(33,104,105,0.09);
  flex: 1 1 210px;
  min-width: 210px;
  max-width: 265px;
  padding: 28px 18px 20px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  transition: box-shadow 0.18s, transform 0.18s;
  border: 2px dashed #FFB7032c;
}
.feature-card img {
  height: 56px; margin: 0 auto 10px auto;
}
.feature-card h3 {
  font-size: 1.13rem;
  margin-bottom: 8px;
}
.feature-card:hover {
  transform: translateY(-6px) scale(1.025) rotate(-1.2deg);
  box-shadow: 0 12px 32px 0 rgba(33,104,105,0.15);
  border-color: #FFB703AA;
}

.card-container,
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(33,104,105,0.08);
  margin-bottom: 20px;
  padding: 26px;
  position: relative;
  flex: 1 1 330px;
  min-width: 260px;
  max-width: 400px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 10px 28px 0 rgba(33,104,105,0.11);
  transform: rotate(0.4deg) scale(1.015);
}

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

.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;
}

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

/* Testimonial Slider, List & Card */
.testimonial-slider,
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 22px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 22px 18px 22px;
  background: #fff;
  color: #1e1900;
  border-radius: 17px;
  box-shadow: 0 2px 40px 0 rgba(33,104,105,0.07);
  min-width: 260px;
  max-width: 400px;
  flex: 1 1 260px;
  position: relative;
}
.testimonial-card p {
  color: #1e1900;
  font-size: 1.08rem;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.5;
}
.testimonial-details {
  font-size: 1rem;
  color: #216869;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
}
.testimonial-card:after {
  content: '';
  display: block;
  position: absolute;
  right: 18px;
  bottom: 15px;
  width: 30px; height: 30px;
  background: url('../assets/icons/icon-sparkle.svg') no-repeat center/contain;
  opacity: 0.12;
}

.cta-section {
  margin-bottom: 0;
  background: linear-gradient(90deg, #FFB703 50%, #F4F8FB 100%);
  border-radius: 34px;
  box-shadow: 0 6px 30px 0 rgba(33,104,105,0.10);
  padding-top: 46px;
  padding-bottom: 46px;
}
.cta-section h2 {
  color: #216869;
  background: none;
  -webkit-text-fill-color: unset;
}
.cta-section p {
  color: #1e1900;
}

/* Blog, Service, FAQ, Pricing, etc */
.blog-list, .service-list, .faq-list {
  margin-top: 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-list li, .service-list li {
  font-size: 1.03rem;
  line-height: 1.5;
  color: #1e1900;
  padding-left: 8px;
}
.blog-list a {
  color: #216869;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.09rem;
}

.faq-list {
  gap: 22px;
}
.faq-list > div {
  background: #fff9ec;
  border-radius: 14px;
  box-shadow: 0 1px 16px 0 rgba(255,183,3,0.10);
  padding: 24px 18px 20px 18px;
}
.faq-list h3 {
  margin-bottom: 6px;
}

/* Pricing Table */
.pricing-table {
  width: 100%;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 28px 0 rgba(33,104,105,0.09);
  border-collapse: collapse;
  margin-bottom: 32px;
  font-size: 1.03rem;
}
.pricing-table th, .pricing-table td {
  border-bottom: 1px solid #e8e8e8;
  padding: 14px 12px;
  text-align: left;
}
.pricing-table thead th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #EAF5F2;
  color: #216869;
  font-size: 1.05rem;
  font-weight: 700;
  border-bottom: 2px solid #216869;
}
.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

/* Client Logos */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 22px;
  align-items: center;
  justify-content: flex-start;
}
.client-logos img {
  height: 56px;
  filter: grayscale(0.5) brightness(1.1);
  opacity: 0.9;
  transition: filter 0.18s, opacity 0.18s;
}
.client-logos img:hover {
  filter: grayscale(0.02) brightness(1.28);
  opacity: 1;
}

/* Contact Information */
.contact-information {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 18px;
}
.contact-information ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-information li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.03rem;
  color: #216869;
}
.contact-information img {
  height: 22px;
  width: 22px;
  opacity: 0.72;
}

/* Footer Styles */
footer {
  background: #216869;
  color: #fff;
  margin-top: 48px;
  padding-top: 46px;
  padding-bottom: 30px;
  border-top-left-radius: 60px 32px;
  border-top-right-radius: 60px 32px;
  box-shadow: 0 -6px 30px 0 rgba(33,104,105,0.09);
  font-size: 1rem;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 54px;
  align-items: flex-start;
  justify-content: space-between;
}
.footer-flex > div, .footer-nav, .footer-contact {
  margin-bottom: 10px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #FFB703;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color .14s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #fff;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #fff;
  line-height: 1.35;
}
.footer-contact img {
  height: 20px;
  margin-right: 7px;
  vertical-align: middle;
  filter: brightness(0) invert(1) opacity(0.82);
}

footer img[alt*='logo'] {
  height: 44px;
  margin-bottom: 10px;
}
footer p {
  color: #F4F8FB;
  font-size: 1rem;
  margin-bottom: 7px;
}

/* Cookie Consent Banner */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100vw;
  z-index: 2500;
  background: #fffbe0;
  color: #1e1900;
  padding: 22px 22px 20px 22px;
  border-top: 4px solid #FFB703;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 -3px 34px 0 rgba(33,104,105,0.12);
  transition: transform 0.5s, opacity 0.5s;
}
.cookie-consent-banner.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateY(44px);
}
.cookie-consent-banner p {
  margin-bottom: 9px;
  text-align: center;
  font-size: 1.01rem;
}
.cookie-btn-row {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin: 0;
}
.cookie-btn {
  min-width: 112px;
  padding: 9px 18px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.2s, color 0.18s, box-shadow 0.15s;
  outline: none;
  margin: 0 2px;
}
.cookie-btn.accept {
  background: #216869;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: #FFB703;
  color: #216869;
}
.cookie-btn.reject {
  background: #fff;
  color: #216869;
  border: 2px solid #FFB703;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #FFB703;
  color: #216869;
}
.cookie-btn.settings {
  background: #F4F8FB;
  color: #216869;
  border: 2px solid #216869;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #216869;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,25,0,0.24);
  z-index: 2600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.28s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 40px 0 rgba(33,104,105,0.13);
  padding: 32px 30px 30px 30px;
  min-width: 310px;
  max-width: 425px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2601;
}
.cookie-modal h2 {
  margin-bottom: 16px;
  font-size: 1.25rem;
  color: #216869;
}
.cookie-category-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.cookie-category-row label {
  font-size: 1rem;
  font-weight: 600;
  color: #1e1900;
  margin-left: 8px;
}
.cookie-category-row input[type=checkbox] {
  accent-color: #FFB703;
}
.cookie-category-row input[type=checkbox]:disabled {
  accent-color: #216869;
}
.cookie-modal .cookie-btn-row {
  margin-top: 22px;
  gap: 15px;
  width: 100%;
}
.cookie-modal .cookie-btn {
  width: 100%;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  color: #216869;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
}
.cookie-modal .close-modal:hover, .cookie-modal .close-modal:focus {
  color: #FFB703;
}

/* Artistic Accent for special backgrounds */
@keyframes sparkle {
  0% { opacity: 0.22; transform: scale(1) rotate(0deg); }
  60% { opacity: 0.38; transform: scale(1.12) rotate(18deg); }
  100% { opacity: 0.22; transform: scale(1) rotate(0deg); }
}
.hero:after {
  content: '';
  position: absolute;
  bottom: -24px; right: 70px;
  width: 86px; height: 86px;
  background: url('../assets/icons/icon-sparkle.svg') no-repeat center/contain;
  opacity: 0.18;
  z-index: 1;
  animation: sparkle 4.2s infinite;
  pointer-events: none;
}

/* Hide scrollbars for artistic cleanliness */
body::-webkit-scrollbar { width: 11px; background: #F4F8FB; }
body::-webkit-scrollbar-thumb { background: #FFB703; border-radius: 16px; }

/* Responsive Breakpoints */
@media (max-width: 1060px) {
  .container { max-width: 96vw; }
  .footer-flex { gap: 18px; }
}
@media (max-width: 900px) {
  .footer-flex { flex-direction: column; gap: 18px; justify-content: flex-start; }
  .footer-nav { flex-direction: row; gap: 16px; }
}
@media (max-width: 768px) {
  .header-flex { gap: 12px; }
  .main-nav { display: none; }
  .mobile-menu-toggle { display: inline-block; }
  .container { padding: 0 5vw; }
  .feature-grid, .testimonial-slider, .testimonial-list, .client-logos, .card-container, .card-grid, .content-grid {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .footer-nav { flex-direction: column; }
  .card, .feature-card, .testimonial-card { min-width: unset; max-width: 100%; }
  .section { padding: 30px 6vw; }
  .hero { padding: 50px 0 48px 0; border-radius: 0 0 34px 34px; }
  .cta-section { padding: 26px 3vw 32px 3vw; border-radius: 24px; }
  .footer-flex { gap: 16px; }
  .hero:after { right: 12vw; bottom: -30px; width: 66px; height: 66px; }
  .testimonial-slider, .testimonial-list { gap: 18px; }
}
@media (max-width: 550px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.35rem; }
  .btn-primary, .cookie-btn { font-size: 1.01rem; padding: 10px 18px; }
  .section { padding: 22px 2vw; }
  .hero { padding-left: 2vw; padding-right: 2vw; }
  .footer-flex { gap: 6px; }
}

/* Small artistic micro-interaction for interactive elements */
.btn-primary, .cookie-btn {
  transition: background 0.21s, color 0.21s, box-shadow 0.19s, transform 0.19s;
}
.btn-primary:active, .cookie-btn:active {
  transform: scale(0.96);
}

/* Remove tap highlight */
* {
  -webkit-tap-highlight-color: rgba(255, 183, 3, 0.19);
}

/* Utility classes for spacing/alignment if needed */
.mb-20 { margin-bottom: 20px!important; }
.mt-12 { margin-top: 12px!important; }
.mt-24 { margin-top: 24px!important; }
.text-center { text-align: center!important; }

/* Hide cookies/modal by default in HTML, to use .open or .hide from JS */
.cookie-consent-banner { display: none; }
.cookie-consent-banner.show { display: flex; }
.cookie-modal-overlay { display: none; }
.cookie-modal-overlay.show { display: flex; }

/* END OF CSS */
