/* === CSS RESET & BASE === */
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,
main, 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 {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*,*:before,*:after { box-sizing: inherit; }

body {
  background: #FAFAFA;
  font-family: 'Roboto', Arial, sans-serif;
  color: #133856;
  min-height: 100vh;
  line-height: 1.6;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #E4A411;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fd6104;
  outline: none;
}
ul, ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
li { margin-bottom: 8px; }
strong { font-weight: bold; }

/* ===== BRAND COLORS ===== */
:root {
  --primary: #133856;
  --secondary: #FAFAFA;
  --accent: #E4A411;
  --electric-blue: #0586ff;
  --vibrant-magenta: #fc117c;
  --high-energy-yellow: #ffe500;
  --vivid-orange: #fd6104;
  --electric-green: #20c970;
  --neutral-100: #fff;
  --neutral-200: #f2f3f6;
  --neutral-700: #222f3e;
  --shadow: rgba(19,56,86,0.12);
  --border-radius: 18px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -1.2px;
  color: var(--primary);
  line-height: 1.16;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 18px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 16px;
}
h3 {
  font-size: 1.32rem; /* 21px */
  margin-bottom: 12px;
  color: var(--vibrant-magenta);
}
h4 {
  font-size: 1.07rem;
  margin-bottom: 10px;
}
.subheadline {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--electric-blue);
}
.text-section p,
p {
  margin-bottom: 1em;
  font-size: 1.1rem;
  color: var(--primary);
}

/* ===== CONTAINER PATTERNS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.card {
  margin-bottom: 20px;
  position: relative;
  background: var(--neutral-100);
  border-radius: var(--border-radius);
  box-shadow: 0 3px 16px var(--shadow);
  padding: 28px 24px;
  transition: box-shadow 0.3s, transform 0.2s;
  min-width: 250px;
  flex: 1 1 250px;
}
.card:hover, .card:focus {
  box-shadow: 0 8px 32px 0 rgba(255,97,4,0.13), 0 6px 32px 0 var(--shadow);
  transform: translateY(-3px) scale(1.03);
  z-index: 2;
}

.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--neutral-100);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 16px 0 rgb(5 134 255 / 5%), 0 2px 6px var(--shadow);
  color: var(--primary);
  margin-bottom: 20px;
  transition: box-shadow 0.26s, transform 0.13s;
  border-left: 8px solid var(--electric-blue);
  flex: 1 1 350px;
  min-width: 0;
}
.testimonial-card:hover, .testimonial-card:focus {
  border-left-color: var(--vibrant-magenta);
  box-shadow: 0 8px 36px 0 rgb(20 201 112 / 12%), 0 4px 16px var(--shadow);
  transform: scale(1.025) translateY(-2px);
}
.testimonial-card blockquote {
  font-size: 1.12rem;
  color: var(--primary);
  font-style: italic;
  margin-bottom: 0.5em;
}
.star-rating {
  font-size: 1.45rem;
  color: var(--high-energy-yellow);
  letter-spacing: 4px;
  margin-top: 5px;
}

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

/* ===== SPECIALIZED FLEX CONTAINERS ===== */
.feature-grid, .service-list ul, .product-service-grid, .service-category-grid, .case-studies, .process-steps ol, .faq-accordion {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.feature-grid > div, .service-category-grid > div, .product-service-grid > div, .case-studies > div {
  background: var(--neutral-100);
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px var(--shadow);
  padding: 24px 18px 20px 18px;
  flex: 1 1 250px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.feature-grid > div:hover, .service-category-grid > div:hover, .product-service-grid > div:hover, .case-studies > div:hover {
  box-shadow: 0 8px 28px 0 rgb(252 17 124 / 16%), 0 2px 18px var(--shadow);
  transform: translateY(-2px) scale(1.04);
  z-index: 2;
}
.service-list ul {
  flex-direction: column;
  gap: 12px;
  list-style: disc inside;
  padding-left: 18px;
  margin-left: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  flex: 1 1 300px;
}
.product-service-grid ul {
  padding: 0 0 0 1.2em;
  margin-bottom: 0;
}

.faq-accordion > div {
  background: var(--vibrant-magenta, #fc117c05);
  border-radius: var(--border-radius);
  padding: 20px 18px 18px 18px;
  margin-bottom: 12px;
  box-shadow: 0 1px 5px var(--shadow);
  border-left: 5px solid var(--electric-blue);
}
.faq-accordion h2 {
  font-size: 1.13rem;
  margin-bottom: 10px;
  color: var(--vibrant-magenta);
}

.case-studies > div h3 {
  color: var(--electric-blue);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.1rem;
}
.contact-details img {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.benefits-summary {
  margin-top: 30px;
}
.benefits-summary h3 {
  color: var(--vivid-orange);
  font-size: 1.18rem;
  margin-bottom: 7px;
}
.benefits-summary ul {
  margin-bottom: 0;
}
.process-steps {
  flex-direction: column;
  gap: 18px;
}
.process-steps ol {
  padding-left: 0;
  flex-direction: column;
  gap: 16px;
}
.process-steps li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  margin-left: 0;
  background: var(--neutral-200);
  border-radius: 9px;
  padding: 10px 18px 10px 8px;
  box-shadow: 0 1px 2px var(--shadow);
}
.process-steps img {
  width: 28px;
  height: 28px;
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* === BUTTONS & CTAS === */
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  border-radius: 36px;
  padding: 15px 38px;
  font-weight: 700;
  font-size: 1.11rem;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, transform 0.17s, box-shadow 0.17s;
  box-shadow: 0 2px 12px 0 var(--shadow);
  text-decoration: none;
  outline: none;
  margin-top: 8px;
}
.button-primary {
  background: linear-gradient(90deg, var(--electric-blue), var(--vibrant-magenta));
  color: var(--neutral-100);
  box-shadow: 0 6px 22px 0 rgb(20 201 112 / 12%), 0 2px 14px var(--shadow);
}
.button-primary:hover, .button-primary:focus {
  background: linear-gradient(90deg, var(--electric-green), var(--vivid-orange));
  color: var(--high-energy-yellow);
  transform: scale(1.04) translateY(-2px);
  box-shadow: 0 9px 30px 0 rgb(255 229 0 / 18%), 0 4px 16px var(--shadow);
}

.button-secondary {
  background: var(--neutral-100);
  color: var(--vivid-orange);
  border: 2px solid var(--vivid-orange);
}
.button-secondary:hover, .button-secondary:focus {
  background: var(--vivid-orange);
  color: var(--neutral-100);
  transform: scale(1.04);
}

.button-set {
  display: flex;
  gap: 18px;
  margin: 18px 0 0;
}

/* === HEADER & NAVIGATION === */
header {
  background: var(--primary);
  box-shadow: 0 2px 10px 0 var(--shadow);
  position: sticky;
  top: 0;
  z-index: 200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 18px 8px 18px;
  min-height: 75px;
}
header img {
  height: 42px;
  width: auto;
}
header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
header nav a {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.02rem;
  color: var(--high-energy-yellow);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 0;
  border-bottom: 3px solid transparent;
  transition: border 0.15s, color 0.18s;
}
header nav a:hover, header nav a:focus {
  color: var(--accent);
  border-bottom: 3px solid var(--accent);
}
header .button-primary {
  margin-top: 0;
  margin-left: 18px;
}

.mobile-menu-toggle {
  display: none;
  font-size: 2.18rem;
  color: var(--vivid-orange);
  background: transparent;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  z-index: 230;
  position: relative;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: var(--primary);
  color: var(--neutral-100);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.52, 1.46, 0.44, 1);
  z-index: 3000;
  overflow-y: auto;
  box-shadow: 0 0 40px 10px rgb(0 0 0 / 18%);
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  background: transparent;
  border: none;
  font-size: 2.6rem;
  color: var(--vivid-orange);
  margin: 24px 28px 22px 0;
  cursor: pointer;
  z-index: 3;
  transition: color 0.19s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: var(--electric-blue);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 100%;
  padding: 36px 32px 22px 38px;
  font-size: 1.28rem;
}
.mobile-nav a {
  color: var(--high-energy-yellow);
  padding: 6px 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color 0.14s;
  border-bottom: 2px solid transparent;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

@media (max-width: 1020px) {
  header nav {
    gap: 13px;
  }
  header .container {
    padding: 8px 8px;
  }
}
@media (max-width: 900px) {
  header nav {
    display: none;
  }
  header .button-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  header img {
    height: 32px;
  }
  .mobile-nav {
    font-size: 1.08rem;
    padding-top: 18px;
    padding-bottom: 16px;
  }
  .mobile-menu-close {
    margin-top: 16px;
    font-size: 2.1rem;
  }
  .mobile-menu {
    box-shadow: 0 0 30px 6px rgb(0 0 0 / 22%);
  }
}

/* ===== MAIN PAGE LAYOUT & SECTION SPACING ===== */
main {
  margin-top: 0;
}
section {
  margin-bottom: 60px;
  padding: 40px 0 40px 0;
}
@media (max-width: 700px) {
  section {
    padding: 30px 0 32px 0;
    margin-bottom: 38px;
  }
  .container {
    padding: 0 8px;
  }
}

/* === HERO AREA === */
.section.hero, section.hero {
  background: linear-gradient(90deg, var(--electric-blue), var(--vivid-orange));
  color: var(--neutral-100);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 40px 2px var(--shadow);
}
.content-wrapper.hero {
  align-items: flex-start;
  gap: 28px;
  padding: 22px 0 18px 0;
  color: var(--neutral-100);
}
.content-wrapper.hero h1,
.content-wrapper.hero .subheadline {
  color: var(--neutral-100);
  text-shadow: 0 2px 8px rgb(0 0 0 / 10%);
}

/* === TESTIMONIALS & CARDS === */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

/* === FOOTER === */
footer {
  background: var(--primary);
  color: var(--neutral-100);
  font-size: 1.07rem;
  padding: 30px 0 15px 0;
}
footer .container {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}
footer nav a {
  color: var(--accent);
  text-decoration: underline;
}
footer nav a:hover, footer nav a:focus {
  color: var(--vivid-orange);
}
.footer-contact {
  color: var(--neutral-100);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact img {
  height: 32px;
}
.footer-contact a {
  color: var(--high-energy-yellow);
  text-decoration: underline;
}
.footer-contact a:hover { color: var(--vivid-orange); }

@media (max-width: 800px) {
  footer .container {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
  }
}

/* ===== RESPONSIVE ADAPTATIONS ===== */
@media (max-width: 900px) {
  .testimonials, .feature-grid, .service-category-grid, .product-service-grid, .case-studies {
    flex-direction: column;
    gap: 18px;
  }
  .testimonial-card, .feature-grid > div, .service-category-grid > div, .product-service-grid > div, .case-studies > div {
    min-width: 0;
    width: 100%;
  }
  .content-grid, .content-wrapper {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 700px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.26rem; }
  h3 { font-size: 1.09rem; }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 16px;
  }
}
@media (max-width: 768px) {
  .text-image-section, .content-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: var(--primary);
  color: var(--neutral-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 18px 18px 18px;
  z-index: 9000;
  box-shadow: 0 -4px 30px rgba(19,56,86,0.17);
  animation: cookiebanner-slideup 0.65s cubic-bezier(.58,1.3,.27,.95);
  gap: 12px;
}

@keyframes cookiebanner-slideup { 0% { transform: translateY(120%);} 100% {transform: none;} }

.cookie-consent-banner p {
  color: var(--neutral-100);
  font-size: 0.97rem;
  margin-bottom: 0;
  margin-top: 0;
}
.cookie-consent-banner .button-set {
  margin-top: 6px;
  gap: 13px;
}
.cookie-consent-banner .button-primary {
  padding: 9px 22px;
  font-size: 1rem;
  background: var(--electric-green);
  color: var(--primary);
  border-radius: 22px;
  box-shadow: none;
}
.cookie-consent-banner .button-primary:hover { background: var(--electric-blue); color: var(--neutral-100); }
.cookie-consent-banner .button-secondary {
  padding: 9px 22px;
  font-size: 1rem;
  color: var(--vivid-orange);
  border-color: var(--vivid-orange);
  border-radius: 22px;
  background: var(--neutral-100);
}
.cookie-consent-banner .button-secondary:hover { background: var(--vivid-orange); color: var(--neutral-100); }

/* ===== COOKIE PREFERENCES MODAL ===== */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(19,56,86,0.56);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein-modalbg 0.2s;
}
@keyframes fadein-modalbg { 0%{ opacity:0;} 100%{opacity:1;} }

.cookie-modal {
  background: var(--secondary);
  color: var(--primary);
  border-radius: 20px;
  box-shadow: 0 10px 64px 0 rgba(5,134,255,0.13), 0 2px 18px var(--shadow);
  max-width: 400px;
  padding: 36px 26px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  animation: fadein-modal 0.29s cubic-bezier(.61,1.4,.29,.99)
}
@keyframes fadein-modal { 0% {transform: scale(.90); opacity: 0;} 100% { transform: none; opacity: 1;} }

.cookie-modal h3 {
  color: var(--vivid-orange);
  margin-bottom: 0.33em;
  font-size: 1.18rem;
}
.cookie-modal ul {
  list-style:none;
  margin:0;padding:0;
}
.cookie-modal li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1rem;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--electric-blue);
  width: 1.3em;
  height: 1.3em;
}
.cookie-modal .button-set {
  flex-direction: row;
  gap: 10px;
  justify-content: flex-end;
}
.cookie-modal .button-primary,
.cookie-modal .button-secondary {
  padding: 7px 18px;
  font-size: .97rem;
  border-radius: 16px;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 9px; right: 17px;
  background: none;
  border: none;
  font-size: 1.41rem;
  color: var(--vibrant-magenta);
  cursor: pointer;
  padding: 0;
}
.cookie-modal .close-modal:hover {color: var(--electric-blue);}

/* ==== FORMS (if any, for expansion) ==== */
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border-radius: 8px;
  border: 1.5px solid var(--electric-blue);
  padding: 10px 11px;
  margin-bottom: 14px;
  margin-top: 4px;
  background: var(--neutral-100);
  transition: border-color 0.15s;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--vibrant-magenta);
  outline: none;
}
label {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

/* ==== MISC ENERGETIC VISUAL ACCENTS ==== */
.feature-grid img, .service-category-grid img, .product-service-grid img, .case-studies img, .contact-details img {
  background: var(--electric-blue);
  border-radius: 12px;
  padding: 6px;
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  transition: background 0.19s;
}
.feature-grid > div:hover img,
.service-category-grid > div:hover img, .product-service-grid > div:hover img {
  background: var(--vibrant-magenta);
}

/* ==== MICRO-INTERACTIONS & TRANSITIONS ==== */
.card, .testimonial-card, .feature-grid > div, .service-category-grid > div, .product-service-grid > div, .case-studies > div {
  transition: box-shadow 0.22s, transform 0.15s;
}
.button-primary, .button-secondary {
  transition: background 0.17s, color 0.17s, transform 0.13s;
}

/* =====- EXTRAS FOR ACCESSIBILITY & FOCUS ===== */
a, button, input, textarea, select {
  outline-color: var(--electric-blue);
  outline-width:2px;
  outline-offset:1.5px;
  outline-style: none;
}
a:focus-visible, button:focus-visible, input:focus-visible {
  outline-style: solid;
  outline-color: var(--vivid-orange);
}

/* ===== ENHANCED TABLE STYLES (for policies, FAQ, etc) ===== */
table {
  width: 100%;
  background: var(--neutral-100);
  border-collapse: collapse;
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 var(--shadow);
  overflow: hidden;
  margin-bottom: 32px;
  margin-top: 10px;
}
th, td {
  padding: 14px 18px;
  border-bottom: 1.5px solid var(--neutral-200);
  color: var(--primary);
  text-align: left;
}
th { background: var(--electric-blue); color: var(--neutral-100); font-size: 1.09rem;}
tr:last-child td { border-bottom: none; }

/* ========== UTILITY CLASSES ========== */
.gap-8 { gap: 8px !important; }
.gap-16 { gap: 16px !important; }
.mt-16 { margin-top: 16px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mt-32 { margin-top: 32px !important; }
.mb-32 { margin-bottom: 32px !important; }

::-webkit-scrollbar {
  width: 10px; height: 10px;
  background: var(--secondary);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb {
  background: var(--electric-blue);
  border-radius: 8px;
}

/* ========== END CSS ========== */
