/* RESET & 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: 'Open Sans', Arial, Helvetica, sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4ecf7 100%);
  color: #1C2331;
  font-size: 16px;
  line-height: 1.7;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: #0594D1;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1C2331;
  text-decoration: underline;
}
ul, ol {
  list-style: none;
}
strong {
  font-weight: 700;
}

/*--------------------------------------------*/
/* TYPOGRAPHY */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #1C2331;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 16px; }
h2 { font-size: 2rem; margin-bottom: 14px; }
h3 { font-size: 1.4rem; margin-bottom: 8px; }
h4 { font-size: 1.2rem; }
h5, h6 { font-size: 1rem; }

p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #253042;
  margin-bottom: 10px;
}

/* Typography responsive adjustments */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.15rem; }
}

/*--------------------------------------------*/
/* CONTAINERS & LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
  box-sizing: border-box;
}
.content-wrapper {
  width: 100%;
  margin: 0 auto;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (max-width: 900px) {
  .section {
    margin-bottom: 40px;
    padding: 28px 12px;
  }
}

.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: 768px) {
  .content-grid,
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(28,35,49,0.06);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px;
  min-width: 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.card:hover {
  box-shadow: 0 6px 25px rgba(5,148,209,0.16);
  transform: translateY(-2px) scale(1.015);
}

.feature-grid,
.service-grid,
.article-grid,
.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .feature-grid,
  .service-grid,
  .article-grid,
  .case-study-list {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}

.feature-item,
.service-item,
.article-card,
.case-study-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(28,35,49,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  padding: 24px 20px;
  min-width: 250px;
  flex: 1 1 290px;
  transition: box-shadow 0.15s, transform 0.15s;
  margin-bottom: 20px;
}
.feature-item img,
.service-item img {
  width: 48px;
  height: 48px;
}
.feature-item:hover,
.service-item:hover,
.article-card:hover,
.case-study-item:hover {
  box-shadow: 0 6px 24px rgba(5,148,209,0.11);
  transform: translateY(-3px);
}

/*--------------------------------------------*/
/* BUTTONS & CTAs */
.cta,
button, .btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 32px;
  background: linear-gradient(90deg, #0594D1 0%, #1C2331 100%);
  color: #fff !important;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 1.06rem;
  letter-spacing: 0.06em;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 15px rgba(5,148,209,0.13);
  text-align: center;
  transition: background 0.19s, box-shadow 0.18s, transform 0.16s;
}
.cta:hover, button:hover, .btn:hover,
.cta:focus, button:focus, .btn:focus {
  background: linear-gradient(90deg, #1C2331 0%, #0594D1 100%);
  box-shadow: 0 5px 28px rgba(5,148,209,0.17);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.read-more {
  display: inline-block;
  color: #1C2331;
  font-weight: 600;
  border-bottom: 2px solid #0594D1;
  padding-bottom: 1px;
  transition: color 0.16s, border-bottom 0.16s;
}
.read-more:hover, .read-more:focus {
  color: #0594D1;
  border-bottom: 2px solid #1C2331;
}
/* Forms */
input[type="search"], input, textarea {
  font-family: inherit;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #cfd8e7;
  background: #f5f7fa;
  font-size: 1rem;
  margin-bottom: 8px;
  transition: border 0.17s, box-shadow 0.18s;
  outline: none;
}
input[type="search"]:focus, input:focus, textarea:focus {
  border: 1.5px solid #0594D1;
  box-shadow: 0 1px 4px rgba(5,148,209,0.13);
}
@media (max-width: 768px) {
  .cta, button, .btn {
    width: 100%;
    min-width: 108px;
  }
}

/*--------------------------------------------*/
/* HEADER & NAVIGATION */
header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(28,35,49,0.07);
  padding: 0;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  min-height: 64px;
}
.logo img {
  height: 44px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #253042;
  padding: 6px 12px;
  border-radius: 18px;
  transition: background 0.16s, color 0.15s;
}
.main-nav a.cta {
  background: linear-gradient(90deg, #0594D1, #1C2331);
  color: #fff !important;
  font-weight: 700;
  padding: 8px 24px;
}
.main-nav a:hover, .main-nav a:focus {
  background: #f0f3f9;
  color: #0594D1;
}
.main-nav a.cta:hover, .main-nav a.cta:focus {
  background: linear-gradient(90deg, #1C2331, #0594D1);
  color: #fff;
}
.mobile-menu-toggle {
  background: none;
  border: none;
  font-size: 2rem;
  display: none;
  color: #0594D1;
  margin-left: 14px;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 120;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  color: #1C2331;
}
@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(28, 35, 49, 0.93);
  transform: translateX(-100vw);
  transition: transform 0.4s cubic-bezier(0.85,0,0.15,1);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 38px 24px 16px 24px;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin-bottom: 30px;
  cursor: pointer;
  transition: color 0.16s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #0594D1;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: color 0.17s, background 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #0594D1;
  background: rgba(255,255,255,0.07);
}

/*--------------------------------------------*/
/* HERO & BANNERS */
.hero-block {
  background: linear-gradient(90deg, #f5f7fa 70%, #e4f7fd 100%);
  border-radius: 22px;
  padding: 56px 36px;
  box-shadow: 0 4px 24px rgba(5,148,209,0.09);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 36px 0 24px 0;
  gap: 18px;
  text-align: center;
}
.hero-block h1 {
  font-size: 2.8rem;
  background: linear-gradient(90deg, #0594D1, #1C2331 100%);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  margin-bottom: 10px;
}
.hero-block p {
  font-size: 1.20rem;
  color: #253042;
}
@media (max-width: 900px) {
  .hero-block {
    padding: 32px 12px;
  }
  .hero-block h1 {
    font-size: 2.1rem;
  }
}

.cta-banner {
  background: linear-gradient(90deg, #0594D1 60%, #1C2331 100%);
  color: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 2px 16px rgba(28,35,49,0.08);
  text-align: center;
  margin: 48px 0 0 0;
}
.cta-banner h2, .cta-banner p {
  color: #fff;
}

/*--------------------------------------------*/
/* TESTIMONIALS */
.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .testimonials {
    flex-direction: column;
    gap: 18px;
    align-items: stretch;
  }
}
 .testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  border-radius: 16px;
  background: #f5f7fa;
  box-shadow: 0 2px 12px rgba(28,35,49,0.07);
  padding: 24px 22px;
  min-width: 250px;
  margin-bottom: 20px;
}
.testimonial-card p {
  font-size: 1.10rem;
  color: #1C2331;
  margin-bottom: 9px;
}
.testimonial-author {
  font-weight: 600;
  color: #0594D1;
  font-size: 1rem;
  margin-top: 0;
}

/*--------------------------------------------*/
/* TEAM, VALUES, FAQ ETC. */
.team-list,
.values-list,
.pricing-list,
.service-details,
.success-metrics,
.location-info,
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 16px;
}
.team-list li, .values-list li, .pricing-list li, .service-details li, .success-metrics li {
  background: #fff;
  padding: 16px 16px;
  border-radius: 14px;
  box-shadow: 0 1px 7px rgba(5,148,209,0.05);
}
.location-info div, .contact-details div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.035rem;
}

/* BLOG CATEGORIES & SEARCH */
.blog-categories {
  margin: 22px 0 8px 0;
  color: #1C2331;
  font-weight: 600;
}
.blog-search {
  margin-bottom: 18px;
}

.featured-post {
  background: #e3f3fd;
  border-radius: 13px;
  padding: 22px 16px;
  box-shadow: 0 2px 10px rgba(5,148,209,0.04);
  margin-bottom: 24px;
}

.policy-text {
  margin-top: 18px;
  background: #f5f7fa;
  padding: 22px 18px;
  border-radius: 10px;
  box-shadow: 0 1px 7px rgba(5,148,209,0.07);
  color: #1C2331;
}

/*--------------------------------------------*/
/* FOOTER */
footer {
  background: #1C2331;
  color: #fff;
  padding: 44px 0 20px 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.footer-nav {
  display: flex;
  gap: 26px;
  justify-content: center;
  margin-bottom: 16px;
}
.footer-nav a {
  color: #fff;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  transition: color 0.17s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #0594D1;
  text-decoration: underline;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  color: #e9ecfa;
}
.footer-contact div {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.025);
  padding: 8px 13px;
  border-radius: 9px;
}
.footer-contact img {
  width: 21px;
  height: 21px;
}
.footer-logo {
  margin: 18px 0;
}
.footer-logo img {
  height: 38px;
  width: auto;
}
.footer-copy {
  color: #94a2b8;
  font-size: 0.97rem;
  margin-top: 8px;
}
@media (max-width: 900px) {
  .footer-nav, .footer-contact {
    flex-direction: column;
    gap: 12px;
  }
}

/*--------------------------------------------*/
/* Cookie Consent Banner & Modal */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #1C2331;
  border-top: 2px solid #0594D1;
  box-shadow: 0 -1px 18px rgba(5,148,209,0.05);
  z-index: 400;
  padding: 25px 20px 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 1rem;
  animation: slideUp 0.6s cubic-bezier(0.47, 0, 0.745, 0.715);
}
@keyframes slideUp {
  0% { transform: translateY(80%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner .cookie-message {
  flex: 1 1 300px;
  max-width: 700px;
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.cookie-banner button, .cookie-banner .btn {
  padding: 8px 22px;
  border-radius: 20px;
  background: linear-gradient(90deg, #0594D1, #1C2331);
  color: #fff;
  border: none;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  transition: background 0.15s, box-shadow 0.13s, color 0.12s;
  cursor: pointer;
}
.cookie-banner button.reject {
  background: #ebecf2;
  color: #1C2331;
}
.cookie-banner button.reject:hover {
  background: #d2e5f6;
  color: #0594D1;
}
.cookie-banner button.settings {
  background: #F5F7FA;
  color: #0594D1;
  box-shadow: none;
}
.cookie-banner button.settings:hover {
  background: #e2edf8;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    gap: 12px;
    font-size: 0.95rem;
    align-items: flex-start;
    padding: 15px 9px 12px 9px;
  }
  .cookie-banner .cookie-actions {
    width: 100%;
    gap: 10px;
  }
}

.cookie-modal {
  display: none;
  position: fixed;
  z-index: 410;
  inset: 0;
  background: rgba(28,35,49,0.61);
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.5s;
}
.cookie-modal.open {
  display: flex;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  border-radius: 16px;
  padding: 36px 26px 26px 26px;
  box-shadow: 0 8px 32px rgba(28,35,49,0.13);
  width: 95vw;
  max-width: 400px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 17px;
}
.cookie-modal-content h2 {
  font-size: 1.4rem;
  margin-bottom: 7px;
  color: #0594D1;
}
.cookie-modal-content label {
  font-size: 1rem;
  color: #1C2331;
  display: flex;
  align-items: center;
  gap: 7px;
}
.cookie-modal-content .category {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #f0f3f9;
}
.cookie-modal-content .category:last-child {
  border-bottom: none;
}
.cookie-modal-content .modal-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.cookie-modal-close {
  position: absolute;
  right: 14px;
  top: 11px;
  font-size: 1.4rem;
  background: none;
  color: #aaa;
  border: none;
  cursor: pointer;
  transition: color 0.14s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #0594D1;
}
@media (max-width: 522px) {
  .cookie-modal-content {
    padding: 16px 7px;
  }
}

/*--------------------------------------------*/
/* ACCESSIBILITY FOCUS */
a, button, .cta, input, textarea {
  outline: none;
}
a:focus, button:focus, .cta:focus {
  outline: 2px dashed #0594D1;
  outline-offset: 2px;
}

/*--------------------------------------------*/
/* SPACINGS BETWEEN CARDS, ELEMENTS */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container, .feature-grid, .service-grid, .article-grid, .case-study-list, .testimonials {
  gap: 24px;
}
.card, .feature-item, .service-item, .testimonial-card, .article-card, .case-study-item {
  margin-bottom: 20px;
}
.content-grid, .text-image-section {
  gap: 20px;
}

/* ENHANCE SPACING FOR MOBILE */
@media (max-width: 768px) {
  section {
    margin-bottom: 32px;
    padding: 28px 8px;
  }
  .card, .feature-item, .service-item, .testimonial-card, .article-card, .case-study-item {
    margin-bottom: 17px;
  }
  .container {
    padding: 0 8px;
  }
}

/*--------------------------------------------*/
/* MISC UTILS & EXTRAS */
.text-section, .policy-text {
  margin-top: 15px;
  margin-bottom: 11px;
}
::-webkit-scrollbar {
  width: 10px;
  background: #F5F7FA;
}
::-webkit-scrollbar-thumb {
  background: #0594D1;
  border-radius: 5px;
}

/*--------------------------------------------*/
/* PRINT OPTIMIZATION */
@media print {
  header, .main-nav, .mobile-menu, .cookie-banner, .cta, footer {
    display: none !important;
  }
}
