/* RESET & BASELINE 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 {
  height: 100%;
  scroll-behavior: smooth;
}
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #212121;
  background: #F5F5F5;
  min-height: 100vh;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: #1976D2;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1A237E;
  text-decoration: underline;
}
ul, ol {
  padding-left: 1.25em;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  color: #1A237E;
  font-weight: 700;
  margin-bottom: 16px;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.25rem;
  color: #1976D2;
}
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
/* FLEXBOX LAYOUTS - CRITICAL REQUIRED PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(26,35,126,0.05);
}
.card-container { display: flex; flex-wrap: wrap; gap: 24px; }
.card { background: #fff; margin-bottom: 20px; border-radius: 10px; box-shadow: 0 2px 8px rgba(26, 35, 126, 0.08); position: relative; }
.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: flex-start; gap: 20px; padding: 20px 28px; background: #F5F5F5; border-radius: 10px; margin-bottom: 20px; box-shadow: 0 4px 16px rgba(26,35,126,0.06); transition: box-shadow 0.2s; }
.testimonial-card:hover { box-shadow: 0 6px 24px rgba(26,35,126, 0.12); }
.feature-item { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }

/* HEADER */
header {
  background: #fff;
  box-shadow: 0 2px 12px rgba(26, 35, 126, 0.05);
  position: sticky;
  top: 0;
  z-index: 60;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 18px 0;
}
header img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #1A237E;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.22s, border-bottom 0.22s;
}
.main-nav a:hover, .main-nav a:focus {
  color: #1976D2;
  border-bottom: 2px solid #1976D2;
}
.cta-button {
  display: inline-block;
  background: #1976D2;
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  padding: 12px 32px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 2px 12px rgba(26, 35, 126, 0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.08s;
  cursor: pointer;
  text-align: center;
  margin-left: 18px;
}
.cta-button:hover, .cta-button:focus {
  background: #1A237E;
  color: #fff;
  box-shadow: 0 6px 16px rgba(26,35,126,0.13);
  transform: translateY(-2px) scale(1.03);
}
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #1976D2;
  cursor: pointer;
  transition: color 0.2s, transform 0.1s;
  margin-left: 12px;
  z-index: 101;
}
.mobile-menu-toggle:focus {
  outline: 2px solid #1976D2;
}
/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(26, 35, 126, 0.97);
  color: #fff;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 24px 0 0 0;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.77,0,0.175,1), opacity 0.2s;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  margin: 0 28px 10px 0;
  cursor: pointer;
  z-index: 102;
  transition: color 0.18s, transform 0.08s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #f5f5f5;
  transform: scale(1.14);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100vw;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
  padding-left: 32px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-family: 'Montserrat', Arial, sans-serif;
  padding: 12px 0;
  border-radius: 8px;
  width: 90vw;
  display: block;
  transition: background 0.18s, color 0.18s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.12);
  color: #FFEB3B;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(92deg, #E3EBF7 0%, #F5F5F5 100%);
  padding: 56px 0 48px 0;
}
.hero .content-wrapper {
  align-items: flex-start;
  max-width: 620px;
}
.hero h1 {
  font-size: 2.5rem;
  line-height: 1.18;
}
.hero p {
  font-size: 1.2rem;
  color: #313145;
}
/* FEATURES SECTION */
.features, .services {
  background: #fff;
}
.features-grid, .services .features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 24px;
}
.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  flex: 1 1 220px;
  min-width: 220px;
  max-width: 300px;
  background: #F5F5F5;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(26,35,126,0.05);
  padding: 28px 22px 26px 22px;
  transition: box-shadow 0.25s, transform 0.18s;
  border: 1px solid #E3EBF7;
}
.feature-card img {
  height: 46px;
  margin-bottom: 10px;
}
.feature-card span {
  margin-top: 9px;
  font-weight: 700;
  color: #1A237E;
  background: #e3ebf7;
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 1rem;
}
.feature-card:hover, .feature-card:focus {
  box-shadow: 0 8px 28px rgba(26,35,126,0.14);
  transform: translateY(-2px) scale(1.025);
  outline: none;
}

/* USP Section / .usp */
.usp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
  list-style: none;
}
.usp-list li {
  display: flex;
  align-items: center;
  background: #E3EBF7;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 1.05rem;
  color: #1A237E;
  gap: 12px;
  min-width: 220px;
  font-weight: 500;
  margin-bottom: 12px;
}
.usp-list img { height: 24px; width: 24px; }

/* TESTIMONIALS */
.testimonials {
  background: #F9FAFB;
}
.testimonials .content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}
.testimonial-slider, .testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 20px;
  align-items: stretch;
}
.testimonial-slider .testimonial-card, .testimonial-list .testimonial-card {
  flex: 1 1 260px;
  min-width: 220px;
  background: #fff;
  color: #212121;
  padding: 28px 24px 18px 24px;
  border-radius: 10px;
  box-shadow: 0 3px 16px rgba(26,35,126,0.09);
  font-size: 1.08rem;
  transition: box-shadow 0.2s;
  border: 1px solid #e3ebf7;
  position: relative;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: #212121;
  font-style: italic;
  margin-bottom: 18px;
}
.testimonial-card span {
  color: #1976D2;
  font-weight: 600;
  font-size: 1em;
}
.rating-summary {
  margin-top: 30px;
  padding: 18px 24px;
  background: #E3EBF7;
  border-radius: 10px;
  color: #1A237E;
  font-size: 1.09rem;
}
.rating-summary h2 {
  margin-bottom: 8px;
  color: #1976D2;
  font-size: 1.2rem;
}

/* STATS SECTION */
.stats .stats-numbers {
  display: flex;
  gap: 32px;
  margin: 32px 0 20px 0;
  flex-wrap: wrap;
}
.stats .stats-numbers > div {
  background: #F5F5F5;
  border-radius: 10px;
  padding: 22px 34px;
  box-shadow: 0 2px 12px rgba(26,35,126,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 170px;
  min-width: 170px;
  gap: 7px;
}
.stats .stats-numbers h3 {
  color: #1A237E;
  font-size: 2.1rem;
  margin-bottom: 0;
}
.stats .stats-numbers p {
  color: #1976D2;
  font-weight: 600;
}

.case-studies-brief ul {
  padding-left: 1.4em;
  list-style: disc;
  margin: 0;
  margin-top: 12px;
  color: #1A237E;
  font-size: 1.04rem;
}

/* ABOUT, TEAM, LEGAL, CONTACT */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 1.06rem;
  color: #212121;
  margin-bottom: 14px;
}
.team-member-list {
  list-style: disc;
  padding-left: 1.4em;
  color: #1976D2;
  font-size: 1.07rem;
  gap: 8px;
}
.team-member-list li { margin-bottom: 7px; }
.legal .text-section ul, .legal .text-section li {
  color: #1A237E;
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.map-snippet {
  background: #E3EBF7;
  border-radius: 10px;
  padding: 18px 22px;
  color: #1A237E;
  font-size: 1.05rem;
  margin-top: 20px;
  margin-bottom: 8px;
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 12px;
}
.contact-details .text-section {
  flex: 1 1 210px;
  min-width: 210px;
  background: #F9FAFB;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 7px rgba(26,35,126,0.05);
}
.confirmation {
  background: #F5F5F5;
}

/******** PRICING TABLES ********/
.pricing-table, .service-compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 32px 0 42px 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(26,35,126,0.06);
  overflow: hidden;
}
.pricing-table th, .service-compare-table th {
  background: #E3EBF7;
  color: #1A237E;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  font-size: 1.05rem;
  padding: 16px 12px;
  border-bottom: 2px solid #dbe2f2;
}
.pricing-table td, .service-compare-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #E3EBF7;
  color: #212121;
  text-align: left;
  font-size: 1.04rem;
}
.pricing-table tr:last-child td, .service-compare-table tr:last-child td {
  border-bottom: none;
}

.service-compare-table th, .service-compare-table td {
  text-align: center;
}

/***** FAQ SECTION *****/
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 18px;
}
.faq-item {
  background: #F5F5F5;
  padding: 24px 22px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(26,35,126,0.08);
  color: #1A237E;
  transition: box-shadow 0.18s;
  margin-bottom: 14px;
}
.faq-item:hover, .faq-item:focus-within {
  box-shadow: 0 7px 22px rgba(26,35,126,0.14);
}
.faq-item h2, .faq-item h3 {
  color: #1976D2;
  margin-bottom: 10px;
  font-size: 1.2rem;
}
.faq-item p {
  color: #212121;
  font-size: 1.06rem;
}

/***** CTA SECTION *****/
.cta {
  background: #E3EBF7;
}
.cta .content-wrapper {
  align-items: center;
  text-align: center;
  gap: 12px;
}
.cta h2 {
  color: #1A237E;
  font-size: 2rem;
}
.cta p {
  color: #313145;
  font-size: 1.16rem;
  margin-bottom: 14px;
}

/***** FOOTER *****/
footer {
  background: #1A237E;
  color: #fff;
  padding: 38px 0 0 0;
  font-size: 1.04rem;
  z-index: 21;
  position: relative;
  margin-top: 60px;
}
.footer-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 38px;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 22px;
}
.footer-logo img {
  height: 38px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #F5F5F5;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-bottom: 2px;
  padding: 3px 0;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #FFEB3B;
}
.footer-contact {
  color: #E3EBF7;
}
.footer-contact a {
  color: #fff;
  text-decoration: underline;
  transition: color 0.17s;
}
.footer-contact a:hover, .footer-contact a:focus { color: #FFEB3B; }

/***** COOKIE CONSENT BANNER *****/
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #212337;
  color: #fff;
  padding: 24px 18px 22px 18px;
  z-index: 9999;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 32px;
  font-size: 1.04rem;
  box-shadow: 0 -8px 22px rgba(26,35,126,0.17);
  transition: transform 0.37s, opacity 0.25s;
}
.cookie-consent-banner.hide {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn, .cookie-settings-btn {
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  border: none;
  margin-left: 0;
  transition: background 0.2s, color 0.2s, box-shadow 0.15s;
}
.cookie-btn.accept {
  background: #1976D2;
  color: #fff;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus { background: #1A237E; color: #fff; }
.cookie-btn.reject {
  background: #fff;
  color: #1976D2;
  border: 1.5px solid #1976D2;
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: #e3ebf7;
  color: #1A237E;
}
.cookie-settings-btn {
  background: #28328a;
  color: #fff;
  border: 1px solid #1976D2;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #fff;
  color: #1A237E;
}
/***** COOKIE MODAL *****/
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(32,40,94,0.76);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.18s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  color: #1A237E;
  border-radius: 12px;
  max-width: 420px;
  width: 96vw;
  box-shadow: 0 8px 34px rgba(26,35,126,0.23);
  padding: 34px 30px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 10001;
  position: relative;
  font-size: 1.04rem;
}
.cookie-modal-close {
  position: absolute;
  top: 16px; right: 19px;
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: #212337;
  cursor: pointer;
  transition: color 0.2s, transform 0.1s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #1976D2;
  transform: scale(1.1);
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.cookie-category label {
  font-weight: 500;
  font-size: 1.03rem;
  color: #1A237E;
}
.cookie-toggle {
  appearance: none;
  width: 42px;
  height: 22px;
  background: #E3EBF7;
  border-radius: 14px;
  position: relative;
  outline: none;
  cursor: pointer;
  transition: background 0.18s;
}
.cookie-toggle:checked {
  background: #1976D2;
}
.cookie-toggle::before {
  content: '';
  display: block;
  position: absolute;
  left: 4px;
  top: 4px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(26,35,126,0.13);
  transition: transform 0.18s;
}
.cookie-toggle:checked::before {
  transform: translateX(18px);
}
.cookie-category.essential label {
  opacity: 0.67;
}
.cookie-category.essential .cookie-toggle {
  opacity: 0.6;
  pointer-events: none;
}

/***** MEDIA QUERIES: RESPONSIVE LAYOUTS *****/
@media (max-width: 1100px) {
  .container { max-width: 980px; }
}
@media (max-width: 900px) {
  .container { max-width: 730px; }
  .features-grid, .services .features-grid, .stats .stats-numbers {
    gap: 18px;
  }
  .footer-flex {
    flex-wrap: wrap;
    gap: 24px;
  }
}
@media (max-width: 768px) {
  body { font-size: 15px; }
  h1 { font-size: 2.05rem; }
  h2 { font-size: 1.35rem; }
  .section { margin-bottom: 36px; padding: 24px 7px; }
  .content-wrapper { gap: 17px; }
  .header-flex {
    gap: 8px;
  }
  .main-nav {
    display: none;
  }
  .cta-button { padding: 10px 18px; font-size: 1rem; }
  .mobile-menu-toggle { display: block; }
  .hero { padding: 30px 0 26px 0; }
  .hero .content-wrapper {
    max-width: 100%;
  }
  .features-grid, .services .features-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature-card {
    max-width: 100%;
    width: 100%;
  }
  .usp-list { flex-direction: column; gap: 10px; }
  .testimonial-slider, .testimonial-list { flex-direction: column; gap: 12px; }
  .stats .stats-numbers { flex-direction: column; gap: 11px; }
  .footer-flex { flex-direction: column; gap: 22px; align-items: flex-start; }
  .cta .content-wrapper { align-items: flex-start; text-align: left; }
  .contact-details { flex-direction: column; gap: 13px; }
  .map-snippet { font-size: 0.97rem; }
}
@media (max-width: 520px) {
  h1 { font-size: 1.35rem; margin-bottom: 13px; }
  .container { padding: 0 5px; }
  .section { padding: 9px 2px; }
  .cookie-consent-banner { flex-direction: column; gap: 23px; padding: 14px 6px; font-size: 0.96rem; }
  .cookie-modal { padding: 18px 7px 16px 7px; max-width: 99vw; }
}

/***** BUTTON & INTERACTIVE STATES *****/
button, .cta-button, input[type="submit"], .cookie-btn, .cookie-settings-btn {
  outline: none;
}
button:focus, .cta-button:focus, .cookie-btn:focus, .cookie-settings-btn:focus {
  outline: 2px solid #1976D2;
  outline-offset: 2px;
}

/* Hide elements by utility class */
.hide, .hidden { display: none !important; }

/* Scrollbar styling (optional, for professional touch) */
::-webkit-scrollbar { width: 8px; background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: #dbe2f2; border-radius: 6px; }

/* Misc */
.content-wrapper > h1, .content-wrapper > h2 {
  margin-top: 0;
}

/* Prevent image overflow */
img { max-width: 100%; height: auto; border-radius: 6px; }

/* Table responsive */
@media (max-width: 600px) {
  .pricing-table, .service-compare-table {
    font-size: 13px;
    display: block;
    overflow-x: auto;
  }
}
section {
  padding: 20px 0;
}