/* === 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 {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: var(--secondary-bg);
  color: var(--primary-text);
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  background-color: #E7EEF6;
}
/* Custom Properties */
:root {
  --primary: #163350;
  --secondary: #E7EEF6;
  --accent: #F1B700;
  --primary-bg: #E7EEF6;
  --primary-text: #1A2330;
  --white: #fff;
  --black: #11151a;
  --shadow: 0 4px 24px 0 rgba(22,51,80,0.10);
  --radius: 18px;
  --header-font: 'Oswald', Arial, sans-serif;
  --body-font: 'Roboto', Arial, sans-serif;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--header-font);
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-rendering: optimizeLegibility;
}
h1 {
  font-size: 2.2rem;
  letter-spacing: 1px;
}
h2 {
  font-size: 1.7rem;
  margin-top: 16px;
}
h3 {
  font-size: 1.3rem;
  margin-top: 12px;
}
h4, h5, h6 {
  font-size: 1.1rem;
  margin-top: 10px;
}
p, ul, ol {
  margin-bottom: 16px;
}
strong, b {
  color: var(--primary);
  font-weight: 700;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.18s cubic-bezier(.4,.2,.27,1);
  font-weight: 500;
}
a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Artistic Fonts for Headings */
h1, h2, h3, h4 {
  font-family: 'Oswald', Arial, sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  word-spacing: 2px;
}

/* === Containers & Layouts (Flexbox only) === */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 60px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Artistic Section Backgrounds */
.hero {
  background-color: var(--white);
  background-image: url("../assets/artistics/brush-bg.svg"), linear-gradient(180deg, #E7EEF6 80%, #F1B700 100%);
  background-repeat: no-repeat, no-repeat;
  background-size: contain, cover;
  background-position: bottom right, top left;
  padding: 60px 0 30px 0;
  box-shadow: 0 16px 32px -22px #16335022;
  border-radius: 0 0 32px 32px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 0;
}


/* === Header & Navigation === */
header {
  width: 100%;
  background: var(--primary);
  box-shadow: 0 6px 16px -10px #16335066;
  position: sticky;
  top: 0;
  z-index: 1030;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
}
header a img {
  height: 42px;
  width: auto;
  display: block;
  margin-right: 14px;
}
nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
}
nav a {
  color: var(--white);
  font-family: var(--header-font);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background 0.18s;
}
nav a:hover, .footer-links a:hover {
  background: var(--accent);
  color: var(--primary);
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--header-font);
  font-size: 1.13rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  border: none;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  margin-left: 12px;
  box-shadow: 0 2px 12px rgba(22,51,80,0.09);
  cursor: pointer;
  transition: background 0.24s, color 0.15s, transform 0.15s cubic-bezier(.77,.11,.43,.99);
  position: relative;
  outline: none;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary);
  color: var(--accent);
  transform: translateY(-2px) scale(1.04);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  display: none;
  font-size: 2rem;
  color: var(--accent);
  margin-left: 16px;
  cursor: pointer;
  z-index: 1100;
  padding: 4px 6px;
  border-radius: 50%;
  transition: background 0.15s, color 0.15s;
}
.mobile-menu-toggle:focus {
  outline: 2px solid var(--accent);
  background: rgba(241,183,0,0.12);
}

/* === Mobile Menu === */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: var(--primary);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 36px;
  z-index: 9000;
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(.7,.06,.48,1.03);
  box-shadow: 8px 0 15px 0 #1633503f;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--accent);
  margin: 24px 24px 0 0;
  cursor: pointer;
  transition: color 0.18s;
}
.mobile-menu-close:focus {
  color: var(--white);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 14px;
  align-items: flex-start;
  margin-left: 24px;
}
.mobile-nav a {
  padding: 12px 0 12px 0;
  color: var(--white);
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.25rem;
  border-bottom: 1px solid #ffffff12;
  width: 100%;
  border-radius: 8px;
  letter-spacing: 0.5px;
  display: block;
  transition: background 0.15s, color 0.2s;
}
.mobile-nav a:hover {
  background: var(--accent);
  color: var(--primary);
}

/* === Responsive Nav/Display === */
@media (max-width: 1120px) {
  .container {
    max-width: 97vw;
  }
}
@media (max-width: 900px) {
  header .container {
    flex-direction: row;
    gap: 10px;
  }
}
@media (max-width: 820px) {
  nav {
    display: none;
  }
  .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (max-width: 520px) {
  .container {
    padding: 0 8px;
  }
  header .container {
    padding: 8px 8px;
  }
}

/* === Section, Content Layouts, Cards === */
.feature_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  list-style: none;
  margin: 32px 0 8px 0;
}
.feature_grid li {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: 0 2px 8px #16335010;
  padding: 32px 26px;
  flex: 1 1 252px;
  min-width: 218px;
  max-width: 350px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 14px;
  border-left: 6px solid var(--accent);
  position: relative;
  transition: box-shadow 0.19s, transform 0.13s;
}
.feature_grid li:hover {
  box-shadow: 0 8px 32px #f1b70027, 0 2px 8px #16335010;
  transform: translateY(-5px) scale(1.03) rotate(-1deg);
}
.feature_grid img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 4px #16335022);
}

.service_list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  list-style: none;
  margin: 24px 0 0 0;
}
.service_list li {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  flex: 1 1 260px;
  min-width: 210px;
  max-width: 350px;
  padding: 30px 22px 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 5px solid var(--accent);
  transition: box-shadow 0.19s, transform 0.13s;
  position: relative;
  overflow: hidden;
}
.service_list li:hover {
  box-shadow: 0 8px 38px #f1b70033, 0 2px 8px #16335016;
  transform: scale(1.03) rotate(0.7deg);
  z-index: 2;
}
.service_list strong {
  font-size: 1.13rem;
  font-family: var(--header-font);
  color: var(--primary);
}
.service_list span {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 2px;
}
.service_list a {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 1.3px;
  font-size: 1rem;
  border-bottom: 2px dotted var(--accent);
  transition: color 0.18s, border-color 0.18s;
  margin-top: 8px;
  align-self: flex-start;
}
.service_list a:hover {
  color: var(--accent);
  border-color: var(--primary);
}

.text-section {
  margin: 0 0 16px 0;
  font-size: 1rem;
  color: var(--primary-text);
  background: #fff8e2;
  border-radius: 14px;
  padding: 28px 20px 20px 18px;
  box-shadow: 0 2px 8px #F1B70015;
  display: flex;
  flex-direction: column;
  gap: 9px;
  min-width: 0;
}
.text-section strong {
  color: var(--accent);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  margin-bottom: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 28px;
  gap: 18px;
  transition: box-shadow 0.15s, transform 0.13s;
}
.card:hover {
  box-shadow: 0 16px 52px #F1B70022, var(--shadow);
  transform: scale(1.04) rotate(-0.5deg);
}
.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.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: #fafbfe;
  border-left: 5px solid var(--accent);
  border-radius: 0 14px 14px 0;
  margin-bottom: 24px;
  box-shadow: 0 6px 32px #16335008, 0 1px 4px #f1b70011;
  color: #1A2330 !important;
  font-size: 1.12rem;
  font-family: var(--body-font);
  position: relative;
  min-width: 0;
}
.testimonial-card p {
  font-style: italic;
  color: var(--primary);
  margin-bottom: 4px;
  font-family: var(--header-font);
}
.testimonial-card span {
  color: var(--primary-text);
  font-size: 0.98rem;
  font-weight: 500;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin-bottom: 20px;
}

/* === Tables === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0 10px 0;
  background: #fff;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 2px 6px #1633500c;
}
th, td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid #e7eef6;
  font-size: 1rem;
}
th {
  background: var(--accent);
  color: var(--primary);
  font-family: var(--header-font);
}

ol, ul {
  margin-left: 24px;
  margin-bottom: 12px;
}
ul li, ol li {
  margin-bottom: 6px;
}

small {
  color: var(--primary);
  font-size: 0.97em;
}

/* === Artistic Touches === */
section {
  margin-bottom: 60px;
  padding: 40px 0 0 0;
}
section:last-child {
  margin-bottom: 0;
}

/* === Footer === */
footer {
  padding: 36px 0 24px 0;
  background: var(--primary);
  color: var(--white);
}
footer .container {
  flex-direction: row;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-branding {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
}
.footer-branding img {
  height: 38px;
}
.footer-links, .footer-social {
  display: flex;
  flex-direction: row;
  gap: 22px;
  align-items: center;
}
.footer-links a {
  color: var(--accent);
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.16s, text-decoration 0.13s;
}
.footer-social img {
  width: 27px;
  height: 27px;
  opacity: 0.82;
  transition: opacity 0.18s, filter 0.15s;
  filter: grayscale(0.2) drop-shadow(0 2px 4px #0001);
}
.footer-social img:hover {
  opacity: 1;
  filter: brightness(1.1) drop-shadow(0 3px 6px #f1b70044);
}

@media (max-width: 880px) {
  footer .container {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  .footer-links {
    margin-top: 16px;
    margin-bottom: 8px;
  }
}
@media (max-width: 600px) {
  .footer-branding img {
    height: 32px;
  }
  .footer-links {
    gap: 13px;
    font-size: 0.98rem;
  }
  .footer-social {
    gap: 12px;
  }
  footer {
    padding: 18px 0 10px 0;
  }
}

/* === Cookie Consent Banner and Modal === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary);
  color: var(--white);
  padding: 24px 20px 20px 20px;
  box-shadow: 0 -2px 16px #16335066;
  border-radius: 24px 24px 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  z-index: 9999;
  animation: cookieBannerFadeIn 0.7s cubic-bezier(.77,.11,.43,.99);
}
@keyframes cookieBannerFadeIn {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-banner strong {
  color: var(--accent);
  font-size: 1.12rem;
}
.cookie-banner-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 10px;
}
.cookie-banner button {
  border: none;
  padding: 10px 22px;
  border-radius: 40px;
  font-family: var(--header-font);
  font-size: 1rem;
  letter-spacing: 1px;
  font-weight: 700;
  margin-right: 4px;
  cursor: pointer;
  transition: background 0.17s, color 0.13s, transform 0.17s;
  outline: none;
  margin-bottom: 0;
}
.cookie-banner .cookie-accept {
  background: var(--accent);
  color: var(--primary);
}
.cookie-banner .cookie-accept:hover {
  background: var(--white);
  color: var(--accent);
  transform: translateY(-1.5px) scale(1.05);
}
.cookie-banner .cookie-reject {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--accent);
}
.cookie-banner .cookie-reject:hover {
  background: #fee;
  color: #bf1201;
  transform: translateY(-1.5px) scale(1.03);
}
.cookie-banner .cookie-settings {
  background: var(--primary);
  color: var(--accent);
  border: 2px solid var(--accent);
  margin-right: 0;
}
.cookie-banner .cookie-settings:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(22,51,80,0.84);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: fadeIn 0.4s;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: var(--white);
  color: var(--primary-text);
  border-radius: 20px;
  box-shadow: var(--shadow);
  min-width: 310px;
  max-width: 98vw;
  width: 400px;
  padding: 36px 32px 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  animation: modalSlideUp 0.5s cubic-bezier(.54,.05,.47,1.05);
}
@keyframes modalSlideUp {
  from { transform: translateY(50px); opacity:0; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-category {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 1.09em;
  background: var(--secondary);
  border-radius: 13px;
  padding: 12px 8px 8px 12px;
  margin-bottom: 6px;
}
.cookie-category strong {
  color: var(--accent);
  font-size: 1rem;
}
.cookie-toggle {
  appearance: none;
  width: 45px;
  height: 26px;
  background: #e2e9f3;
  cursor: pointer;
  border-radius: 13px;
  position: relative;
  outline: none;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: var(--accent);
}
.cookie-toggle::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 18px;
  height: 18px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 2px 6px #0002;
  transition: left 0.18s;
}
.cookie-toggle:checked::before {
  left: 23px;
}
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  gap: 18px;
  margin-top: 15px;
}
.cookie-modal-close {
  position: absolute;
  right: 18px;
  top: 12px;
  font-size: 1.6rem;
  color: var(--primary);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2;
}

/* Hide modal and banner by default (for JavaScript toggle) */
.cookie-banner.hide, .cookie-modal.hide {
  display: none!important;
}

/* === Responsive Flex Directions === */
@media (max-width: 900px) {
  .feature_grid, .service_list,
  .card-container, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}
@media (max-width: 750px) {
  .hero {
    padding: 36px 0 12px 0;
    border-radius: 0 0 20px 20px;
  }
  .content-wrapper {
    gap: 20px;
    margin-bottom: 44px;
  }
  .feature_grid li, .service_list li, .card {
    max-width: 100%;
    min-width: unset;
  }
}
@media (max-width: 600px) {
  section, .section {
    padding: 24px 0 0 0;
    margin-bottom: 34px;
  }
  .hero {
    padding: 24px 0 7px 0;
  }
  .feature_grid li, .service_list li {
    padding: 20px 10px;
    gap: 9px;
  }
  .card {
    padding: 20px 10px;
  }
  .testimonial-card {
    flex-direction: column;
    gap: 8px;
    padding: 15px 7px;
  }
  .text-section {
    padding: 16px 8px 10px 6px;
  }
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
}

/* === Micro Interactions & Animations === */
.card, .feature_grid li, .service_list li {
  transition: box-shadow 0.17s, transform 0.11s;
}
.btn-primary, .cookie-banner button, .cookie-modal-actions button {
  transition: background 0.18s, color 0.11s, transform 0.16s;
}

/* === Utilities & Extras === */
::-webkit-input-placeholder { color: #667; opacity: 1; }
::-moz-placeholder { color: #667; opacity: 1; }
:-ms-input-placeholder { color: #667; opacity: 1; }
::placeholder { color: #667; opacity: 1; }

/* Remove blue tap highlight on mobile */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Hide outline except for keyboard usage */
a, button, .btn-primary {
  outline: none;
}
a:focus, button:focus, .btn-primary:focus {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* === End of style.css === */
