/* 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,input,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: #F8F8FB;
  color: #1c253b;
}
ol,ul {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}
img {
  max-width: 100%;
  display: block;
}
button, input[type="submit"], input[type="button"], input[type="reset"] {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
:focus {
  outline: 2px dotted #174486;
  outline-offset: 3px;
}

/* CSS CUSTOM PROPERTIES*/
:root {
  --primary: #174486;
  --secondary: #E9ECEF;
  --accent: #FFB524;
  --black: #191919;
  --white: #fff;
  --gray-light: #F8F8FB;
  --gray-dark: #374151;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
  --radius: 18px;
  --shadow: 0 8px 24px rgba(23,68,134,0.08), 0 1.5px 8px rgba(255,181,36,0.09);
  --shadow-small: 0 2px 8px rgba(23,68,134,0.10);
  --section-vpad: 40px;
  --section-hpad: 20px;
  --gap: 24px;
}

/* BODY TYPOGRAPHY */
body {
  font-family: var(--font-body);
  background: var(--gray-light);
  color: var(--black);
  font-size: 16px;
  min-height: 100vh;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  line-height: 1.13;
  letter-spacing: -0.5px;
}
h1 { font-size: 2.4rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 10px; }
h3 { font-size: 1.4rem; margin-bottom: 8px; }
@media (min-width: 640px) {
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2.2rem; }
}
p, ul li, ol li {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-dark);
  margin-bottom: 8px;
}
strong { font-weight: bold; color: var(--primary); }

/* LINKS */
a {
  color: var(--primary);
  font-weight: 600;
  word-break: break-word;
  transition: color .2s;
}
a:hover, a:focus {color: var(--accent);}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* SPACING AND SECTION RULES (MANDATORY) */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  padding: 24px;
  min-width: 0;
  z-index: 1;
}
.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: center;
  gap: 20px;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
  font-family: var(--font-display);
  min-width: 220px;
  max-width: 350px;
  margin-bottom: 20px;
  color: #151d2b;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* Ensure no overlap, solid spacing on offers, testimonials, team, tips, guides, etc */
.offer-list, .team-list, .testimonial-list, .footer-nav, .footer-contact, .footer-brand {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.offer-list > div, .team-list > div {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  padding: 24px 20px;
  min-width: 220px;
}
.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
/* Cards and list items with icons */
ul > li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 1rem;
}
ul > li img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--accent);
  padding: 4px;
}

/* HEADER AND NAVIGATION */
header {
  width: 100%;
  background: var(--white);
  box-shadow: 0 4px 18px rgba(23,68,134,0.11);
  position: sticky;
  top: 0;
  z-index: 101;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 10px;
}
.main-nav {
  display: flex;
  gap: 16px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 1.01rem;
  font-weight: 600;
  padding: 8px 13px;
  border-radius: var(--radius);
  transition: background 0.16s, color 0.19s;
  color: var(--primary);
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--accent);
  color: #1c253b;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  padding: 12px 28px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-left: 20px;
  border: none;
  transition: background 0.19s, color 0.14s, box-shadow 0.19s, transform 0.17s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 3px 16px rgba(255,181,36,0.27);
  transform: translateY(-2px) scale(1.03);
}
.btn-secondary {
  background: var(--accent);
  color: var(--primary);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-top: 10px;
  transition: background 0.16s, color 0.17s, box-shadow 0.18s, transform 0.17s;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(23,68,134,0.18);
  transform: scale(1.03);
}

/* Hamburger (mobile) menu */
.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--primary);
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  line-height: 0;
  border-radius: 44%;
  border: none;
  box-shadow: var(--shadow-small);
  margin-left: 16px;
  transition: background 0.17s, color 0.17s, transform 0.15s;
  z-index: 102;
}
.mobile-menu-toggle:active, .mobile-menu-toggle:hover {
  background: var(--primary);
  color: var(--accent);
  transform: scale(1.07);
}
@media (min-width: 901px) {
  .mobile-menu-toggle {
    display: none;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(23,68,134,0.90);
  backdrop-filter: blur(4px);
  transform: translateX(-100vw);
  transition: transform 0.32s cubic-bezier(.98,.08,.28,1.08);
  z-index: 130;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0;
  gap: 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 20px 22px 0 0;
  font-size: 2.3rem;
  background: none;
  color: var(--accent);
  border: none;
  padding: 8px 9px;
  border-radius: 50%;
  transition: background 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(255,255,255,0.07);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  align-items: center;
  padding: 38px 0 0 0;
}
.mobile-nav a {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  text-align: center;
  padding: 14px 26px;
  border-radius: 12px;
  background: rgba(255,181,36,0.10);
  width: 80%;
  transition: background 0.18s, color 0.16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: var(--primary);
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
}
@media (min-width: 901px) {
  .mobile-menu {
    display: none!important;
  }
}

/* MAIN SECTIONS & ARTISTIC ACCENTS */
section {
  background: var(--gray-light);
  border-radius: var(--radius);
  margin-bottom: 60px;
  padding: var(--section-vpad) var(--section-hpad);
  box-shadow: var(--shadow);
}
/* Alternate section backgrounds for creative rhythm */
section:nth-child(even) {
  background: var(--secondary);
}
section:nth-child(3n) {
  background: #fffde7;
}

/* Headings creative underline (artistic accent) */
h2 {
  position: relative;
  display: inline-block;
}
h2::after {
  content: '';
  display: block;
  width: 44px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-top: 6px;
}

/* HERO section focus */
section:first-of-type {
  background: linear-gradient(100deg,var(--accent) 5%, #fff 42%, var(--secondary) 98%);
  box-shadow: 0 8px 26px rgba(255,181,36,0.11);
  border-radius: 0 0 55px 55px;
}
section:first-of-type h1 {
  color: var(--primary);
  text-shadow: 0 2px 12px rgba(255,181,36,0.10);
  font-size: 2.1rem;
  font-family: var(--font-display);
}

/* Artistic font effect */
h1, h2, h3 {
  font-family: var(--font-display), serif;
  text-rendering: geometricPrecision;
  letter-spacing: -0.04em;
  line-height: 1.14;
}
h1 {
  background: linear-gradient(120deg,var(--primary) 40%, var(--accent) 95%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-fill-color: transparent;
  font-variation-settings: "wght" 750;
}

/* Quote/testimonial quotation mark accent */
.testimonial-card p::before {
  content: '“';
  color: var(--accent);
  font-family: 'Montserrat', sans-serif;
  font-size: 2.4rem;
  line-height: 0.8;
  margin-right: 0.11em;
  vertical-align: -10px;
}

.testimonial-card span {
  color: var(--primary);
  font-size: 0.99rem;
  font-weight: 600;
}

/* INPUTS for search (blog) */
input[type="search"] {
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1.2px solid var(--primary);
  box-shadow: none;
  margin-bottom: 16px;
  background: var(--secondary);
  color: var(--primary);
  width: 100%;
  transition: border .17s;
}
input[type="search"]:focus {
  border-color: var(--accent);
}

/* FOOTER */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 46px 0 26px 0;
  margin-top: 70px;
  border-radius: 64px 64px 0 0;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 28px;
  align-items: flex-start;
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.footer-nav a {
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.06rem;
  border-bottom: 2.5px solid transparent;
  padding: 0 3px 4px 3px;
  transition: border-bottom 0.15s, color 0.13s;
}
.footer-nav a:hover, .footer-nav a:focus {
  border-bottom: 2.5px solid var(--accent);
  color: var(--white);
}
.footer-contact {
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #e8eaf4;
  margin-bottom: 12px;
}
.footer-contact img {
  width: 19px;
  height: 19px;
  margin-right: 8px;
  vertical-align: middle;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-brand img {
  width: 48px;
  height: 48px;
}
.footer-brand span {
  font-family: var(--font-display);
  font-size: 1.10rem;
  font-weight: 600;
  opacity: 0.85;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .container {
    padding: 0 8px;
  }
  .main-nav, .footer-nav {
    gap: 12px;
  }
  .btn-primary, .btn-secondary {
    padding: 10px 15px;
    font-size: 1rem;
    margin-left: 0;
  }
  .offer-list, .team-list, .testimonial-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
  .testimonial-card, .offer-list > div, .team-list > div {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }
  section {
    padding: 26px 4px;
  }
  .footer-brand img {
    width: 38px;
    height: 38px;
  }
}
@media (max-width: 575px) {
  h1 {
    font-size: 1.38rem;
  }
  h2 {
    font-size: 1.12rem;
  }
  .footer-contact {
    font-size: 0.92rem;
  }
  section {
    padding: 18px 2px;
    margin-bottom: 32px;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    padding: 0 12px;
    min-height: 56px;
    height: auto;
    gap: 4px;
  }
  .footer-contact img {
    width: 16px;
    height: 16px;
  }
}
@media (max-width: 640px) {
  .text-image-section, .card-container, .content-grid,
  .offer-list, .team-list, .testimonial-list {
    flex-direction: column!important;
    gap: 16px!important;
  }
  .footer-nav {
    flex-direction: column;
    gap: 6px;
  }
  .footer-brand {
    flex-direction: column;
    gap: 8px;
 }
 .section {
   margin-bottom: 34px;
 }
}
.text-image-section {
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
@media (min-width: 769px) {
  .text-image-section {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
}

/* Animate in elements: fade up on load */
.animated {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.6s cubic-bezier(.73,.01,.19,.98);
}
.animated.visible {
  opacity: 1;
  transform: none;
}

/* MICRO-INTERACTIONS & BUTTONS */
.btn-primary, .btn-secondary {
  box-shadow: var(--shadow-small);
  position: relative;
  transition: box-shadow 0.15s, background 0.13s, transform 0.11s;
}
.btn-primary:active, .btn-secondary:active {
  transform: scale(0.98);
}

/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  color: var(--white);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 22px 14px 22px 24px;
  gap: 24px;
  z-index: 300;
  box-shadow: 0 -8px 24px rgba(23,68,134,0.13);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 22px 22px 0 0;
  transition: transform 0.34s cubic-bezier(.84,-0.01,.25,1.05);
  transform: translateY(0);
}
.cookie-banner.hide {
  transform: translateY(110%);
}
.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner .cookie-banner-buttons button {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  padding: 8px 21px;
  margin: 0;
  box-shadow: var(--shadow-small);
  transition: background 0.14s, color 0.18s, box-shadow 0.13s, transform 0.13s;
  border: none;
}
.cookie-banner .accept-btn {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .accept-btn:hover, .cookie-banner .accept-btn:focus {
  background: var(--white);
  color: var(--primary);
}
.cookie-banner .reject-btn {
  background: var(--white);
  color: var(--primary);
}
.cookie-banner .reject-btn:hover, .cookie-banner .reject-btn:focus {
  background: #f8d97a;
  color: var(--primary);
}
.cookie-banner .settings-btn {
  background: var(--primary);
  color: var(--accent);
  border: 1.2px solid var(--accent);
}
.cookie-banner .settings-btn:hover, .cookie-banner .settings-btn:focus {
  background: var(--accent);
  color: var(--primary);
}
@media (max-width: 700px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 17px 6px 16px 8px;
    gap: 14px;
    font-size: 0.97rem;
  }
  .cookie-banner-buttons {
    width: 100%;
    gap: 8px;
  }
}

/* Cookie Modal Styles */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  background: rgba(30,36,53,0.87);
  z-index: 301;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein ease .2s;
}
@keyframes fadein {
  from { opacity: 0; } to { opacity: 1; }
}
.cookie-modal-content {
  background: var(--white);
  color: var(--primary);
  border-radius: 22px;
  padding: 36px 22px 28px 24px;
  max-width: 95vw;
  width: 390px;
  box-shadow: var(--shadow);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cookie-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  border: none;
  width: 33px;
  height: 33px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .12s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--primary);
  color: var(--accent);
}
.cookie-settings-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.06rem;
  font-family: var(--font-body);
}
.cookie-category label {
  font-weight: 500;
  cursor: pointer;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 13px;
  background: var(--secondary);
  position: relative;
  margin-right: 6px;
  transition: background 0.13s;
  display: inline-block;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  top: 2px;
  left: 3px;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border-radius: 50%;
  transition: left 0.15s, background 0.13s;
  box-shadow: 0 1px 4px rgba(23,68,134,0.13);
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  left: 17px;
  background: var(--primary);
}
.cookie-category .desc {
  color: #6b7690;
  font-size: 0.93rem;
  margin-left: 8px;
}
.cookie-modal-buttons {
  display: flex;
  gap: 11px;
  margin-top: 4px;
}
.cookie-modal-buttons button {
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 9px 15px;
  border-radius: 8px;
  border: none;
}
.cookie-modal-buttons .accept-btn {
  background: var(--primary);
  color: var(--white);
}
.cookie-modal-buttons .accept-btn:hover {
  background: var(--accent);
  color: var(--primary);
}
.cookie-modal-buttons .reject-btn {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.cookie-modal-buttons .reject-btn:hover {
  background: var(--secondary);
}

/* Scrollbar for artistic look */
body::-webkit-scrollbar {
  width: 14px;
  background: var(--secondary);
}
body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
}
body::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Miscellaneous for accessibility */
[tabindex]:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
@media (max-width:420px) {
  .cookie-modal-content {min-width:0; width:95vw; padding:13px 2px;}
  section { padding:13px 1px; }
}

/* Artistic paint spots/circles as decorative elements (not content) */
section.artistic-bg::before {
  content: '';
  display: block;
  position: absolute;
  top: -28px; left: -60px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: rgba(255,181,36,0.12);
  z-index: 0;
  pointer-events: none;
}
section.artistic-bg::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -32px; right: -38px;
  width: 74px; height: 74px;
  border-radius: 50%;
  background: rgba(23,68,134,0.08);
  z-index: 0;
  pointer-events: none;
}
/* Only apply artistic-bg class via JS for randomly-chosen sections for added artistic flair. */

/* Fallback for custom-props if needed */
@media (prefers-color-scheme: dark) {
  section, .card, .testimonial-card {
    color: var(--gray-dark);
  }
  .main-nav a, .footer-brand span, .footer-contact, .footer-nav a { color: var(--accent)!important; }
  .btn-primary, .btn-secondary { color: var(--gray-light)!important; }
}

/* END OF CSS */
