/* CSS RESET & NORMALIZATION */
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  background: #F5F7FA;
  color: #10305B;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, video, svg {
  max-width: 100%;
  display: block;
}
a {
  color: #10305B;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus {
  outline: 2px solid #D5A700;
  outline-offset: 2px;
}
ul, ol {
  list-style: none;
}
button {
  font-family: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #10305B;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.15;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p, li {
  font-size: 1rem;
  color: #10305B;
  margin-bottom: 12px;
}
strong { color: #10305B; font-weight: 700; }

/* CONTAINERS & LAYOUTS */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.section, section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 24px rgba(16,48,91,0.08);
}
.section:last-child, section:last-child { margin-bottom: 0; }

/* HERO SECTION */
.hero {
  background: #F5F7FA;
  box-shadow: none;
  border-radius: 0;
  padding-top: 54px;
  padding-bottom: 54px;
}
.hero .content-wrapper {
  align-items: flex-start;
  gap: 16px;
}
.hero h1 {
  font-size: 2.3rem;
  margin-bottom: 12px;
}
.hero p {
  font-size: 1.25rem;
  margin-bottom: 28px;
  color: #3A4963;
}

@media (min-width: 600px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.3rem; }
  .hero h1 { font-size: 3rem; }
}

/* NAVIGATION & HEADER */
header {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 10px rgba(16,48,91,0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 66px;
  padding: 0 0 0 0;
}
.logo {
  display: flex;
  align-items: center;
  margin-right: 16px;
  padding: 10px 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  padding: 6px 10px;
  border-radius: 6px;
  color: #10305B;
  transition: background 0.15s, color 0.15s;
}
.main-nav a.cta.primary {
  background: #10305B;
  color: #fff;
  font-weight: 500;
  padding: 9px 20px;
  margin-left: 10px;
  border-radius: 24px;
  box-shadow: 0 1px 4px rgba(16,48,91,0.08);
  transition: background 0.18s, color 0.18s, box-shadow 0.25s;
}
.main-nav a.cta.primary:hover, .main-nav a.cta.primary:focus {
  background: #D5A700;
  color: #10305B;
  box-shadow: 0 3px 12px rgba(16,48,91,0.13);
}
.main-nav a:hover, .main-nav a:focus {
  background: #F5F7FA;
  color: #D5A700;
}
.mobile-menu-toggle {
  display: none;
}
/* Responsive Nav */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #10305B;
    border: 1px solid #EAEAEA;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 1.75rem;
    margin-left: auto;
    margin-right: 10px;
    z-index: 1011;
    transition: background 0.13s, color 0.13s;
  }
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:focus {
    background: #10305B;
    color: #fff;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(245,247,250,0.97);
  box-shadow: -2px 0 32px rgba(16,48,91,0.10);
  z-index: 1100;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  transform: translateX(100%);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.8,0,0.2,1), opacity 0.24s;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  font-size: 2.2rem;
  background: none;
  color: #10305B;
  border: none;
  margin: 22px 28px 8px 0;
  align-self: flex-end;
  transition: color 0.2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #D5A700;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  padding: 22px 38px;
  min-width: 220px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  color: #10305B;
  width: 100%;
  padding: 7px 0;
  border-radius: 8px;
  transition: background 0.13s, color 0.13s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #EAEAEA;
  color: #D5A700;
}

/* MAIN & REUSABLE SECTIONS */
main {
  flex: 1 0 auto;
  width: 100%;
}

.features {
  background: #fff;
}
.features-list, .services-list, .solutions-list, .article-preview-list, .testimonial-list, .case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 28px;
}
.features-list li, .services-list li, .solutions-list li, .article-preview, .case-study {
  flex: 1 1 260px;
  min-width: 240px;
  background: #F5F7FA;
  border-radius: 12px;
  padding: 26px 22px;
  box-shadow: 0 2px 15px rgba(16,48,91,0.06);
  transition: box-shadow 0.18s, transform 0.18s, background 0.18s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.features-list li:hover, .services-list li:hover, .solutions-list li:hover, .article-preview:hover, .case-study:hover {
  background: #fff;
  box-shadow: 0 6px 38px rgba(16,48,91,0.12);
  transform: translateY(-3px) scale(1.015);
}
.features-list img {
  height: 48px;
  width: 48px;
  margin-bottom: 4px;
}

.testimonial-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #fff;
  border-radius: 10px;
  padding: 24px 20px;
  box-shadow: 0 1.5px 15px rgba(16,48,91,0.08);
  min-width: 220px;
  max-width: 350px;
  color: #10305B;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: box-shadow 0.17s, transform 0.14s;
}
.testimonial-card p {
  margin-bottom: 6px;
  color: #10305B;
  font-size: 1.04rem;
}
.testimonial-card strong {
  color: #D5A700;
  font-size: 0.98rem;
}
.testimonial-card:hover {
  box-shadow: 0 7px 28px rgba(16,48,91,0.14);
  transform: translateY(-2px) scale(1.03);
}

.case-study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}
.case-study {
  flex: 1 1 260px;
  min-width: 250px;
  background: #F5F7FA;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(16,48,91,0.09);
  padding: 28px 22px 12px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
  position: relative;
}
.case-study .testimonial-card {
  margin-top: 12px;
}

.article-preview-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.article-preview {
  flex: 1 1 230px;
  min-width: 200px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 15px rgba(16,48,91,0.08);
  padding: 18px 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 20px;
  transition: box-shadow 0.13s;
}
.article-preview a { color: #D5A700; font-weight: 500; text-underline-offset: 2px; }
.article-preview a:hover { text-decoration: underline; }

/* USP Lists */
.usps {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
}
.usps li {
  flex: 1 1 150px;
  min-width: 130px;
  background: #F5F7FA;
  border-radius: 7px;
  box-shadow: 0 1px 3px rgba(16,48,91,0.03);
  padding: 10px 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #3A4963;
  font-size: 1rem;
  margin-bottom: 20px;
}

/* CALL TO ACTION */
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 32px 18px 32px 18px;
  gap: 18px;
  border-radius: 16px;
  background: #F5F7FA;
  margin: 0 auto 40px auto;
}
.cta .primary {
  display: inline-block;
  background: #10305B;
  color: #fff;
  border-radius: 24px;
  padding: 13px 34px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  box-shadow: 0 2px 11px rgba(16,48,91,0.10);
  letter-spacing: 0.02em;
  margin-top: 6px;
  border: none;
  transition: background 0.18s, color 0.18s, box-shadow 0.19s, transform 0.22s;
}
.cta .primary:hover, .cta .primary:focus {
  background: #D5A700;
  color: #10305B;
  box-shadow: 0 5px 18px rgba(16,48,91,0.14);
  transform: translateY(-1.5px) scale(1.035);
}

/* SERVICE PRICING */
.service-price {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #10305B;
  background: #FFD7001A;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  margin-top: 4px;
  padding: 6px 11px;
}

/* CONTACT & LEGAL SECTIONS */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.legal {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 13px rgba(16,48,91,0.06);
  padding: 36px 18px;
  margin-bottom: 60px;
}

.contact-details ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.contact-details strong {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #10305B;
}

/* FOOTER */
footer {
  background: #fff;
  padding: 46px 0 12px 0;
  border-top: 1px solid #E0E4EA;
  color: #3A4963;
  font-size: 1rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.footer-brand {
  flex: 1 1 240px;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-brand img {
  width: 135px;
  margin-bottom: 3px;
}
.footer-brand p {
  font-size: 0.98rem;
  color: #3A4963;
  margin-bottom: 0;
}
.footer-links {
  flex: 2 1 340px;
  min-width: 164px;
  display: flex;
  flex-direction: row;
  gap: 48px;
  align-items: flex-start;
  justify-content: flex-start;
}
.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 130px;
}
.footer-links h3 {
  font-size: 1.05rem;
  margin-bottom: 9px;
  color: #10305B;
  font-weight: 600;
}
.footer-links a {
  color: #3A4963;
  font-size: 0.97rem;
  padding: 3px 0;
  border-radius: 4px;
  transition: background 0.11s, color 0.13s;
}
.footer-links a:hover,
.footer-links a:focus {
  background: #F5F7FA;
  color: #D5A700;
}
.footer-social {
  flex: 1 1 140px;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-social h3 { font-size: 1rem; margin-bottom: 9px; }
.footer-social a img {
  width: 28px;
  height: 28px;
  margin-right: 9px;
  display: inline-block;
  vertical-align: middle;
}
.footer-social a {
  display: inline-block;
  padding: 4px 0;
  transition: transform 0.14s;
}
.footer-social a:hover img {
  transform: scale(1.08) translateY(-2px);
}
.footer-copy {
  text-align: center;
  color: #A3A6AA;
  font-size: 0.99rem;
  margin-top: 6px;
  margin-bottom: 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .container { max-width: 100vw; }
  .footer-grid {
    flex-direction: column;
    gap: 28px;
    align-items: flex-start;
  }
  .footer-links {
    flex-direction: row;
    gap: 28px;
    margin-top: 1rem;
  }
}
@media (max-width: 730px) {
  .features-list,
  .services-list,
  .solutions-list,
  .case-study-list,
  .article-preview-list,
  .testimonial-list,
  .usps {
    flex-direction: column;
    gap: 18px;
  }
  .features-list li,
  .services-list li,
  .solutions-list li,
  .case-study,
  .article-preview {
    min-width: 0;
    width: 100%;
  }
  .footer-links {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
}
@media (max-width: 600px) {
  .section, section { padding: 26px 8px; margin-bottom: 38px; border-radius: 8px; }
  .cta { padding: 20px 6px 18px 6px; border-radius: 8px; }
  .hero {
    padding-top: 30px;
    padding-bottom: 28px;
    box-shadow: none;
    border-radius: 0;
  }
  .footer-brand img { width: 100px; }
  .footer-grid { gap: 18px; }
  .footer-links nav h3 { margin-bottom: 5px; }
}

/* FLEXBOX LAYOUTS - MANDATORY PATTERNS */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  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;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 16px;
  }
}

/* BUTTONS */
button, .cta.primary, .main-nav a.cta.primary {
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  outline: none;
  cursor: pointer;
}
.cta.primary, .main-nav a.cta.primary {
  background: #10305B;
  color: #fff;
  border-radius: 24px;
  font-weight: 600;
  padding: 12px 30px;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  box-shadow: 0 1.5px 8px rgba(16,48,91,0.09);
  transition: background 0.17s, color 0.17s, box-shadow 0.20s, transform 0.17s;
}
.cta.primary:hover, .cta.primary:focus,
.main-nav a.cta.primary:hover, .main-nav a.cta.primary:focus {
  background: #D5A700;
  color: #10305B;
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 5px 18px rgba(16,48,91,0.18);
}

/* HOVER EFFECTS & MICRO-INTERACTIONS */
a, .cta.primary, .main-nav a, button {
  transition: background 0.18s, color 0.18s, box-shadow 0.23s, transform 0.18s;
}

/* FOCUS STATES */
a:focus, .cta.primary:focus, button:focus {
  outline: 2px solid #D5A700;
  outline-offset: 2px;
}

/* COOKIE CONSENT BANNER */
.cookie-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: #fff;
  color: #10305B;
  border-top: 1.5px solid #E4E8F1;
  box-shadow: 0 -4px 24px rgba(16,48,91,0.12);
  padding: 20px 24px;
  z-index: 1150;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 1.01rem;
  transition: transform 0.25s cubic-bezier(0.7,0,0.3,1), opacity 0.21s;
}
.cookie-banner.hide { transform: translateY(100%); opacity: 0; pointer-events: none; }
.cookie-banner .cookie-content {
  flex: 1 1 420px;
  min-width: 0;
  color: #10305B;
}
.cookie-banner .cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-button {
  background: #10305B;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 10px 22px;
  font-size: 1rem;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 6px;
  cursor: pointer;
  transition: background 0.17s, color 0.17s;
}
.cookie-button.settings {
  background: #F5F7FA;
  color: #10305B;
  border: 1px solid #D5A700;
}
.cookie-button.accept {
  background: #D5A700;
  color: #10305B;
  font-weight: 600;
}
.cookie-button.reject {
  background: #fff;
  color: #10305B;
  border: 1.2px solid #E4E8F1;
}
.cookie-button:hover, .cookie-button:focus {
  background: #10305B;
  color: #fff;
}
.cookie-button.settings:hover, .cookie-button.settings:focus {
  background: #D5A700;
  color: #10305B;
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-overlay {
  position: fixed;
  z-index: 1200;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(16,48,91,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s;
}
.cookie-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.cookie-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 9px 38px rgba(16,48,91,0.14);
  max-width: 410px;
  width: 96vw;
  padding: 32px 26px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  animation: fadeUp 0.3s cubic-bezier(.7,0,.24,1);
}
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(60px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.4rem;
  color: #10305B;
  margin-bottom: 2px;
}
.cookie-modal-category {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.01rem;
  margin-bottom: 7px;
}
.cookie-category-label {
  font-weight: 500;
  color: #10305B;
}
.cookie-toggle {
  width: 36px;
  height: 22px;
  display: inline-block;
  position: relative;
}
.cookie-toggle input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #E4E8F1;
  border-radius: 16px;
  transition: background 0.18s;
}
.cookie-toggle-slider:before {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1.5px 4px rgba(16,48,91,0.07);
  transition: transform 0.22s;
}
.cookie-toggle input[type="checkbox"]:checked + .cookie-toggle-slider {
  background: #D5A700;
}
.cookie-toggle input[type="checkbox"]:checked + .cookie-toggle-slider:before {
  transform: translateX(12px);
  background: #fff;
}
.cookie-category-desc {
  font-size: 0.95rem;
  color: #3A4963;
  margin-bottom: 7px;
}
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.cookie-modal-close {
  align-self: flex-end;
  background: none;
  color: #3A4963;
  font-size: 1.15rem;
  border: none;
  cursor: pointer;
  transition: color 0.13s;
  margin-bottom: 0;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  color: #D5A700;
}

/* MISCELLANEOUS STYLES */
hr {
  border: 0;
  border-top: 1px solid #E4E8F1;
  margin: 16px 0;
}
::-webkit-input-placeholder { color: #A3A6AA; }
::-moz-placeholder { color: #A3A6AA; }
:-ms-input-placeholder { color: #A3A6AA; }
::placeholder { color: #A3A6AA; }

/* UTILITY CLASSES */
.align-center { text-align: center; }
.hide { display: none !important; }
.visually-hidden { position: absolute!important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* END */
