/* === CSS RESET & BASE SETUP === */
html {
  box-sizing: border-box;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: #F2F6F9;
  color: #222D3A;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #174875;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #15406B;
  text-decoration: underline;
}
ul, ol {
  padding-left: 24px;
  margin: 16px 0;
}
li {
  margin-bottom: 8px;
}
main {
  flex: 1 1 auto;
}

/* === BRAND COLOR SYSTEM === */
:root {
  --primary: #174875;
  --primary-hover: #133a5a;
  --secondary: #F2F6F9;
  --gray-light: #E4EAF1;
  --gray-medium: #B6C3D2;
  --gray-dark: #222D3A;
  --accent: #FFD024;
  --white: #fff;
  --shadow-card: 0 4px 24px 0 rgba(23,72,117,0.07);
  --transition: 0.2s cubic-bezier(.4,0,.2,1);
  --radius: 12px;
}

/* === TYPOGRAPHY === */
body, input, textarea, button {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #174875;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #174875;
}
p, ul, ol {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #222D3A;
}
strong, b {
  font-weight: 600;
}
blockquote {
  font-style: italic;
  color: #174875;
  font-size: 1.1rem;
  margin-bottom: 8px;
  background: var(--secondary);
  border-left: 4px solid var(--primary);
  padding: 14px 18px;
  border-radius: 8px;
}

/* === LAYOUT CONTAINERS & SPACING === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
}

/* FLEXBOX LAYOUTS */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 8px;
}
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--gray-light);
  max-width: 520px;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px 0 rgba(23,72,117,0.12);
  border-color: var(--accent);
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  position: relative;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  box-shadow: 0 8px 32px 0 rgba(23,72,117,0.13);
  border-color: var(--primary);
}
.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;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  box-shadow: 0px 2px 14px 0 rgba(23, 72, 117, 0.04);
  border-bottom: 1px solid var(--gray-light);
  position: relative;
  z-index: 200;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.logo img {
  height: 38px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
.main-nav a {
  color: #174875;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 500;
  padding: 6px 0;
  font-size: 1rem;
  transition: color var(--transition), border-bottom var(--transition);
  border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a:focus {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}
.btn {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #174875;
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  padding: 12px 32px;
  margin-left: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px 0 rgba(23,72,117,0.08);
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  display: inline-block;
}
.btn:hover, .btn:focus {
  background: #ffe066;
  color: #133a5a;
  box-shadow: 0 4px 18px 0 rgba(23,72,117,0.12);
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  margin-left: 18px;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-hover);
  color: #fff;
}

/* === MOBILE NAVIGATION === */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #174875;
  cursor: pointer;
  margin-left: 16px;
  z-index: 300;
  transition: color var(--transition);
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  color: var(--accent);
}

@media (max-width: 1020px) {
  .main-nav {
    gap: 14px;
  }
  .btn, .btn-primary {
    padding: 11px 18px;
    margin-left: 10px;
    font-size: 0.95rem;
  }
  header .container {
    height: auto;
  }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 6px;
    font-size: 0.98rem;
  }
}
@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
  .btn, .btn-primary {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(23, 72, 117, 0.93);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transform: translateX(-110%);
  transition: transform 0.34s cubic-bezier(.8,0,.2,1);
  z-index: 9900;
  padding: 0;
}
.mobile-menu.open {
  transform: none;
}
.mobile-menu-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  position: absolute;
  top: 17px;
  right: 22px;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.2s;
}
.mobile-menu-close:hover {
  color: var(--accent);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 92px;
  width: 100vw;
  padding: 0 34px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 14px 8px;
  display: block;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--accent);
  color: #174875;
}

@media (max-width: 440px) {
  .mobile-nav {
    padding: 0 12px;
  }
}


/* === HERO & MAIN SECTION === */
.hero {
  background: linear-gradient(120deg, #F2F6F9, #e4eaf1 35%, #fff 100%);
  padding: 0;
  margin-bottom: 30px;
}
.hero .container {
  padding-top: 44px;
  padding-bottom: 44px;
}
.hero h1 {
  color: #174875;
  font-size: 2.4rem;
  margin-bottom: 17px;
}
.hero p {
  font-size: 1.2rem;
  color: #465060;
  margin-bottom: 26px;
}

/* === FEATURE CARDS/ICONS === */
.feature-grid > div {
  background: #fff;
  border: 1px solid #E4EAF1;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px 24px 18px 24px;
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 330px;
  transition: box-shadow var(--transition), border-color var(--transition), transform 0.22s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.feature-grid > div img {
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
}
.feature-grid > div:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 28px 0 rgba(23,72,117,0.12);
  transform: translateY(-4px) scale(1.03);
}
.feature-grid > div h3 {
  margin-bottom: 8px;
}
.feature-grid > div p {
  font-size: 1rem;
  color: #465060;
}

/* === TABLES (PRICING) === */
table {
  width: 100%;
  border-spacing: 0;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 1rem;
}
thead tr {
  background: #F2F6F9;
}
th, td {
  padding: 17px 14px;
  border: 1px solid #E4EAF1;
  text-align: center;
}
th {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #174875;
  font-size: 1.1rem;
  font-weight: 600;
  background: #F2F6F9;
}
tr:nth-child(even) td {
  background: #fafcff;
}
td {
  color: #222D3A;
  font-size: 1rem;
}
table .btn {
  display: inline-block;
  margin: 0;
}

/* === TEXT & IMG SECTIONS === */
.text-section {
  margin-bottom: 16px;
}
.text-section p {
  font-size: 1rem;
}
.text-section img {
  width: 22px;
  height: 22px;
  margin-right: 9px;
  vertical-align: middle;
}

/* === FOOTER === */
footer {
  background: #174875;
  color: #fff;
}
footer p {
  color: white;
}
footer .container {
  padding: 30px 20px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-logo img {
  height: 50px;
  width: auto;
}
.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-menu a {
  color: #fff;
  opacity: 0.96;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  margin-bottom: 0;
  transition: color var(--transition), opacity var(--transition);
}
.footer-menu a:hover, .footer-menu a:focus {
  color: var(--accent);
  opacity: 1;
  text-decoration: underline;
}
.footer-contact p {
  font-size: 1rem;
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  color: #fff;
}
.footer-contact img {
  width: 21px;
  height: 21px;
  margin-right: 10px;
}
.footer-newsletter {
  font-size: 1rem;
  color: #fff;
  opacity: 0.9;
  flex: 1 1 200px;
}
.footer-social {
  display: flex;
  gap: 13px;
  align-items: center;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  opacity: 0.92;
  transition: opacity var(--transition), transform var(--transition);
}
.footer-social a:hover img {
  opacity: 1;
  transform: scale(1.08) rotate(-7deg);
}

/* === FORMS, INPUTS === */
input[type="text"], input[type="email"], textarea {
  padding: 11px 14px;
  font-size: 1rem;
  border: 1px solid #B6C3D2;
  border-radius: 7px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  margin-bottom: 16px;
  background: #fff;
  color: #222D3A;
  width: 100%;
  box-sizing: border-box;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 2px 8px 0 rgba(23,72,117,0.08);
}

/* === COOKIE CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #174875;
  color: #fff;
  z-index: 99999;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 24px 30px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0px -4px 36px 0 rgba(23,72,117,0.17);
  font-size: 1rem;
  gap: 24px;
  animation: cookieIn 0.5s cubic-bezier(.17,.67,.83,.67) 1;
}
@keyframes cookieIn {
  0% { transform: translateY(110%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-banner p {
  margin-right: 22px;
  color: #fff;
}
.cookie-banner .cookie-btn-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cookie-banner button {
  padding: 8px 20px;
  background: #fff;
  color: #174875;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 0;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px 0 rgba(23,72,117,0.13);
}
.cookie-banner button:hover, .cookie-banner button:focus {
  background: var(--accent);
  color: #174875;
}
.cookie-settings-btn {
  background: var(--primary);
  color: #fff;
  border: 1px solid #fff;
}
.cookie-settings-btn:hover, .cookie-settings-btn:focus {
  background: #fff;
  color: var(--primary);
}

/* COOKIE MODAL */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 72, 117, 0.72);
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s cubic-bezier(.3,0,.7,1);
}
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  color: #174875;
  min-width: 325px;
  max-width: 94vw;
  border-radius: 16px;
  box-shadow: 0 8px 44px 0 rgba(23, 72, 117,0.23);
  padding: 40px 28px 24px 28px;
  position: relative;
  z-index: 200002;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalIn 0.25s cubic-bezier(.4,0,.2,1);
}
@keyframes modalIn {
  0% { transform: scale(0.95) translateY(16%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
.cookie-modal h2 {
  font-size: 1.3rem;
  color: #174875;
  margin-bottom: 10px;
}
.cookie-modal .cookie-option {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1rem;
}
.cookie-modal label {
  font-size: 1rem;
  font-weight: 500;
  margin-right: 12px;
}
.cookie-modal input[type="checkbox"] {
  accent-color: var(--primary);
  width: 1.1em;
  height: 1.1em;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 13px;
  margin-top: 12px;
  justify-content: flex-end;
}
.cookie-modal .essential {
  opacity: 0.75;
  font-style: italic;
}
.cookie-modal .close-cookie-modal {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #174875;
  cursor: pointer;
  transition: color var(--transition);
  z-index: 10;
}
.cookie-modal .close-cookie-modal:hover {
  color: var(--accent);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1020px) {
  .container {
    max-width: 98vw;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 860px) {
  .container {
    max-width: 97vw;
  }
  .footer-newsletter, .footer-social, .footer-logo {
    flex-basis: 100%;
  }
  .footer-menu, .footer-contact {
    flex-basis: 100%;
    margin-bottom: 16px;
  }
  footer .content-wrapper {
    gap: 20px 8px;
  }
}
@media (max-width: 650px) {
  .feature-grid {
    flex-direction: column;
    gap: 18px;
  }
  .content-grid {
    flex-direction: column;
    gap: 14px;
  }
  .footer-newsletter, .footer-social, .footer-logo, .footer-menu, .footer-contact {
    flex-basis: 100%;
  }
}
@media (max-width: 560px) {
  .container {
    padding: 0 7px;
  }
  header .container {
    padding: 0 7px;
  }
  .hero h1 {
    font-size: 1.45rem;
  }
  h2 {
    font-size: 1.18rem;
  }
  .card,
  .feature-grid > div,
  .testimonial-card {
    min-width: unset;
    max-width: 100%;
    padding: 17px 9px;
  }
}
@media (max-width: 768px) {
  .feature-grid, .content-grid, .section, .content-wrapper {
    gap: 14px;
    flex-direction: column;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .section {
    margin-bottom: 40px;
    padding: 24px 4px;
  }
  h1 {
    font-size: 1.65rem;
    margin-bottom: 13px;
  }
  .testimonial-card {
    max-width: 98vw;
    padding: 18px 5px;
  }
  table th, table td {
    padding: 12px 5px;
    font-size: 0.95rem;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 12px;
    font-size: 0.98rem;
  }
  .footer-menu {
    flex-direction: column;
    gap: 7px;
  }
  footer .container {
    padding: 20px 4px;
  }
}

/* === MISCELLANEOUS === */
::-webkit-scrollbar {
  width: 11px;
  background: #F2F6F9;
}
::-webkit-scrollbar-thumb {
  background: #B6C3D2;
  border-radius: 6px;
}
::-webkit-scrollbar-thumb:hover {
  background: #222D3A;
}

/* --- Utility classes as needed --- */
.d-none { display: none !important; }
.d-block { display: block !important; }
.text-center { text-align: center !important; }

/* === Z-INDEX MANAGEMENT === */
header, .mobile-menu, .cookie-banner, .cookie-modal-backdrop { z-index: 9999; }

/* === END === */
