/* RESET & NORMALIZATION */
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 {
  line-height: 1.6;
  background: #fff;
  color: #22436f;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  min-height: 100vh;
}
*, *:before, *:after { box-sizing: inherit; }
ul, ol { list-style: none; padding-left: 0; }
a { text-decoration: none; color: inherit; background: none; }
img { max-width: 100%; height: auto; display: block; }

/* BRAND COLORS */
:root {
  --brand-primary: #22436f;
  --brand-secondary: #e6f0fa;
  --brand-accent: #fca311;
  --brand-dark: #17223a;
  --brand-light: #ffffff;
  --shadow-md: 0 4px 20px 0 rgba(34,67,111,0.13);
  --shadow-sm: 0 2px 8px 0 rgba(34,67,111,0.10);
}


/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--brand-primary);
}
h1 { font-size: 2.5rem; line-height: 1.15; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 18px; line-height: 1.2; }
h3 { font-size: 1.25rem; margin-bottom: 10px; line-height: 1.25; color: var(--brand-dark); }
h4, h5, h6 { margin-bottom: 8px; }
p, ul, ol { font-size: 1rem; color: var(--brand-dark); }
strong { font-weight: 700; color: var(--brand-primary); }

/* ARTISTIC FONTS for headings, secondary accent */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@800&family=Open+Sans:wght@400;600;700&display=swap');

/* LAYOUT CONTAINERS */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
/* Artistic backgrounds for hero/feature sections */
section:nth-child(1), section.hero, .section.hero {
  background: linear-gradient(135deg, #e6f0fa 60%, #fca31111 100%);
}

/* HEADER / NAVIGATION */
header {
  width: 100%;
  background: var(--brand-light);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0; left: 0; z-index: 50;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  min-height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 16px;
}
.main-nav {
  display: flex;
  gap: 20px;
  flex: 1;
  align-items: center;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 20px;
  color: var(--brand-primary);
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--brand-accent);
  color: #fff;
}
.cta.primary, .cta.secondary {
  display: inline-flex;
  align-items: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 11px 26px;
  border-radius: 28px;
  margin-left: 20px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  border: none;
  transition: background 0.25s, color 0.2s, box-shadow 0.2s, transform 0.08s;
}
.cta.primary {
  background: var(--brand-accent);
  color: var(--brand-primary);
  border: 2px solid var(--brand-accent);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--brand-primary);
  color: #fff;
  border-color: var(--brand-primary);
  transform: translateY(-2px) scale(1.03);
}
.cta.secondary {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}
.cta.secondary:hover, .cta.secondary:focus {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  background: var(--brand-accent);
  border: none;
  font-size: 2rem;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--brand-primary);
  margin-left: auto;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  z-index: 110;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: var(--brand-primary);
  color: #fff;
}
@media (max-width: 1100px) {
  .main-nav { gap: 12px; }
  .cta.primary, .cta.secondary { margin-left: 8px; font-size: 0.95rem; }
}
@media (max-width: 900px) {
  .main-nav { gap: 4px; }
}
@media (max-width: 900px) {
  .footer-brand span { font-size: 0.9rem; }
}

/* MOBILE NAVIGATION */
@media (max-width: 860px) {
  .main-nav, .cta.primary {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; right: 0; left: 0; bottom: 0;
  background: rgba(34,67,111,0.97);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform .33s cubic-bezier(.55,.07,.54,.95);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.mobile-menu.active { transform: translateX(0); }
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #fff;
  margin: 24px 32px 0 0;
  cursor: pointer;
  z-index: 2002;
  transition: color 0.18s, transform 0.12s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus { color: var(--brand-accent); transform: scale(1.08); }
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 40px 32px 0 42px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #fff;
  font-size: 1.2rem;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  transition: background 0.16s, color 0.17s, padding-left 0.19s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--brand-accent);
  background: rgba(252,163,17,0.09);
  padding-left: 20px;
}

@media (max-width: 480px) {
  .mobile-nav, .mobile-menu-close { padding-left: 22px; margin-right: 14px; }
}

/* MAIN SECTION/TITLES */
main {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* HERO, FEATURES, SECTIONS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 10px;
  justify-content: space-between;
}
.feature-item {
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  padding: 28px 24px 20px 24px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  border-left: 8px solid var(--brand-accent);
  transition: transform .15s, box-shadow .25s;
  position: relative;
}
.feature-item img {
  width: 38px;
  height: 38px;
  margin-bottom: 6px;
}
.feature-item h3 {
  font-size: 1.15rem;
  color: var(--brand-primary);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.feature-item p {
  font-size: 1rem;
  color: var(--brand-dark);
}
.feature-item:hover, .feature-item:focus-within {
  transform: translateY(-6px) scale(1.025);
  box-shadow: var(--shadow-md);
}

/* Composite flex containers */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
}
.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;
}

@media (max-width: 900px) {
  .content-grid, .feature-grid { flex-direction: column; gap: 20px; }
  .feature-item { max-width: 100%;}
}
@media (max-width: 768px) {
  .text-image-section, .content-grid, .feature-grid {
    flex-direction: column !important;
    gap: 20px;
  }
}

/* TESTIMONIALS */
.testimonial-slider {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.testimonial-card {
  background: var(--brand-secondary);
  color: var(--brand-dark);
  border-radius: 15px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  min-width: 260px;
  max-width: 430px;
  flex: 1 1 260px;
  transition: box-shadow .11s, transform .15s;
  border-left: 6px solid var(--brand-accent);
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--brand-primary);
  margin-bottom: 10px;
}
.testimonial-card strong {
  font-weight: bold;
  color: var(--brand-dark);
  opacity: .97;
  font-size: .98rem;
  letter-spacing: 0.2px;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px) scale(1.018);
  background: #fffbe7;
}

/* FORMS & DETAILS (CONTACT) */
.contact-details-short, .map-embed {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.contact-details-short a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.08rem;
  padding: 10px 16px;
  border-radius: 24px;
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  transition: background 0.2s, color 0.14s;
}
.contact-details-short a:hover {
  background: var(--brand-accent);
  color: #fff;
}

/* SERVICES LIST/TABLE */
.services-list li, .skills-gained ul li, .specifications-highlights ul li {
  padding: 8px 0 8px 28px;
  background: url('../assets/icons/icon-check.svg') 0 13px no-repeat;
  background-size: 18px 18px;
  font-size: 1.01rem;
  line-height: 1.6;
  margin-bottom: 4px;
}
.services-list .price {
  font-weight: 600;
  color: var(--brand-accent);
  margin-left: 8px;
}

/* Offer Table Styling */
.services-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 30px 0;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  border-radius: 13px;
  overflow: hidden;
}
.services-table thead tr {
  background: var(--brand-primary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
}
.services-table th,
.services-table td {
  padding: 16px 14px;
  text-align: left;
  border-bottom: 1px solid var(--brand-secondary);
}
.services-table tbody tr {
  background: #fff;
  transition: background 0.16s;
}
.services-table tbody tr:hover {
  background: var(--brand-secondary);
}
.services-table td:last-child {
  color: var(--brand-accent);
  font-weight: 700;
}

/* FOOTER */
footer {
  width: 100%;
  background: var(--brand-primary);
  color: #fff;
  padding: 48px 0 20px 0;
  position: relative;
  font-size: 1rem;
}
.footer-menu {
  display: flex;
  gap: 22px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  opacity: 0.92;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: border-color .19s, color .13s;
}
.footer-menu a:hover, .footer-menu a:focus { color: var(--brand-accent); border-color: var(--brand-accent);}
.footer-brand {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
}
.footer-brand img { width: 34px; height: 34px; display: block; }
.footer-brand span {
  font-size: 1rem; opacity: 0.88; color: #e6f0fa;
}
.footer-copy {
  text-align: left;
  font-size: 0.93rem;
  opacity: 0.62;
}
@media (max-width: 768px) {
  footer .container { flex-direction: column; align-items: flex-start; }
  .footer-menu { gap: 12px; }
  .footer-brand { flex-direction: column; gap: 8px; align-items: flex-start; }
}

/* SECTION AND TEXT-SECTION */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.text-section ul, .text-section ol {
  list-style: none;
  padding-left: 0;
}
.text-section ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.text-section ul li:before {
  content: '';
  display: inline-block;
  width: 14px; height: 14px;
  background: var(--brand-accent);
  border-radius: 2px;
  position: absolute;
  left: 0; top: 4px;
}

/* Responsive paddings/margins */
@media (max-width: 600px) {
  .container { padding: 0 8px; }
  .section { padding: 26px 6px; margin-bottom: 32px; }
  .footer-brand, .footer-menu { gap: 7px; }
  .footer-copy { font-size: 0.94rem; }
  h1 { font-size: 1.68rem !important; }
  h2 { font-size: 1.18rem !important; }
}

/* ANIMATIONS and MICROINTERACTIONS */
.cta.primary, .cta.secondary, .feature-item, .testimonial-card, .card {
  transition: box-shadow .17s, background .21s, color .19s, transform .15s;
}
.cta.primary:active, .cta.secondary:active, .feature-item:active {
  transform: scale(.99);
}

/* Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #fffbe7;
  border-top: 2px solid var(--brand-accent);
  box-shadow: 0 -2px 16px rgba(34,67,111,0.11);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  align-items: center;
  padding: 22px 16px 19px 16px;
  width: 100%;
  font-size: 1rem;
  animation: cookieBannerSlideIn .6s cubic-bezier(.62,.23,.38,.87);
}
@keyframes cookieBannerSlideIn {
  0% { transform: translateY(110%); opacity:0; }
  70% { transform: translateY(-9%); opacity:1; }
  100% { transform: translateY(0%); opacity:1; }
}
.cookie-banner p { color: var(--brand-dark); margin-bottom: 0; }
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2px;
}
.cookie-btn {
  padding: 9px 28px;
  border-radius: 24px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .24s, color .15s, box-shadow .15s;
  margin: 0 4px;
}
.cookie-btn.accept {
  background: var(--brand-accent);
  color: var(--brand-primary);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--brand-primary);
  color: #fff;
}
.cookie-btn.reject {
  background: var(--brand-secondary);
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #fff;
  color: var(--brand-accent);
}
.cookie-btn.settings {
  background: #fffbe7;
  color: var(--brand-primary);
  border: 2px solid var(--brand-accent);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--brand-accent);
  color: #fff;
}
@media (max-width: 512px) {
  .cookie-banner { gap: 14px; font-size: .93rem; }
  .cookie-banner .cookie-actions { gap: 8px; }
  .cookie-btn { padding: 9px 15px; font-size: .98rem; }
}

/* Cookie Preference Modal */
#cookie-preferences-modal {
  display: none;
  position: fixed;
  left: 0; right:0; top:0; bottom:0;
  background: rgba(34,67,111,0.45);
  z-index: 3200;
  align-items: center;
  justify-content: center;
  animation: cookieModalOpen .48s cubic-bezier(.31,.84,.48,1.04);
}
#cookie-preferences-modal.active {
  display: flex;
}
@keyframes cookieModalOpen {
  0% { opacity:0; }
  100% { opacity:1; }
}
.cookie-modal-inner {
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  min-width: 320px;
  max-width: 440px;
  box-shadow: 0 6px 38px rgba(34,67,111,0.18);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.cookie-modal-inner h2 {
  font-size: 1.25rem;
  color: var(--brand-primary);
  margin-bottom: 10px;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 9px 0;
  padding: 10px 0;
  border-bottom: 1px solid #e2e2e29f;
}
.cookie-category:last-child{ border-bottom: none; }
.cookie-category label {
  font-size: 1.08rem;
}
.cookie-toggle {
  width: 46px; height: 24px;
  position: relative;
  display: inline-block;
}
/* Toggle Switches */
.cookie-toggle input { display: none; }
.cookie-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #e6f0fa;
  border-radius: 24px;
  transition: background .17s;
}
.cookie-toggle input:checked + .cookie-slider {
  background: var(--brand-accent);
}
.cookie-slider:before {
  content: '';
  position: absolute;
  left: 2px; top: 2px;
  width: 20px; height: 20px;
  background: #fff;
  border-radius: 50%;
  transition: transform .22s;
}
.cookie-toggle input:checked + .cookie-slider:before {
  transform: translateX(22px);
  background: var(--brand-primary);
}
/* Modal Save/Close Actions */
.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 13px;
  margin-top: 13px;
}
.cookie-modal-close {
  background: none;
  border: none;
  color: var(--brand-dark);
  font-size: 1.35rem;
  position: absolute;
  top: 11px; right: 20px;
  cursor: pointer;
  opacity: .82;
  transition: color 0.14s, opacity 0.11s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: var(--brand-accent);
  opacity: 1;
}

/* TABLE, MAP, LISTS */
.map-embed p {
  background: var(--brand-secondary);
  border-radius: 8px;
  padding: 13px 18px;
  color: var(--brand-primary);
  font-weight: 600;
}

/* Application examples */
.application-examples h3 {
  color: var(--brand-accent);
  font-size: 1.08rem;
  margin-bottom: 9px;
}

/* Util classes */
.mb-20 { margin-bottom:20px!important; }
.mt-20 { margin-top:20px!important; }
.gap-12 { gap: 12px!important; }
.d-flex { display: flex!important; }
.flex-col { flex-direction: column!important; }
.flex-row { flex-direction: row!important; }
.align-center { align-items:center!important; }
.justify-between { justify-content:space-between!important; }

/* Hide visually but accessible */
.visually-hidden {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Unique artistic effects */
.section {
  background: linear-gradient(100deg, #fff 85%, #fca31110 120%);
  border-radius: 20px 0 32px 0;
  box-shadow: var(--shadow-sm);
}
.section:nth-child(even) {
  background: linear-gradient(90deg, #e6f0fa 60%, #fff 130%);
}

/* Artistic waves/accents */
section.hero:before, section.hero:after {
  content: "";
  position: absolute;
  width: 100vw;
  height: 80px;
  left: 0; right: 0;
  z-index: -1;
  background: linear-gradient(110deg, #fca31144 25%, #22436f11 84%);
  border-radius: 0 0 48% 48% / 0 0 42% 42%;
}

/* Buttons & Interaction */
button, .cta {
  outline: none;
}
button:focus-visible, .cta:focus-visible, a:focus-visible {
  outline: 2px dashed var(--brand-accent);
}

/* Card shadow hover effect */
.card:hover, .card:focus-within {
  box-shadow: var(--shadow-md);
  background: #f9fafb;
  transform: translateY(-3px) scale(1.015);
}

/* Responsive Font Sizes */
@media (max-width: 480px) {
  h1 { font-size: 1.25rem; }
  h2 { font-size: 1.06rem; }
  .container { padding: 0 4px; }
}

/* Accessibility - never hide focus ring on keyboard nav */
*:focus-visible {
  box-shadow: 0 0 0 2px var(--brand-accent) !important;
}

/* --- END CSS FILE --- */
