/* === CSS RESET & NORMALIZE | Elegant Classic 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, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  box-sizing: border-box;
}
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', 'Georgia', serif;
  color: #1B232E;
  background-color: #F7F7F7;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}
a { color: #13426D; text-decoration: none; transition: color 0.2s; }
a:hover, a:focus { color: #0f3352; }

/* === Font Face for Montserrat === */
@import url('https://fonts.googleapis.com/css?family=Montserrat:400,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,400italic,700&display=swap');

/* === Elegant Classic Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Georgia', serif;
  color: #13426D;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 24px; }
h2 { font-size: 2rem; margin-bottom: 20px; }
h3 { font-size: 1.4rem; margin-bottom: 16px; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.85rem; }
p, ul, ol, li {
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 1rem;
  margin-bottom: 16px;
  color: #263444;
}
ul, ol { margin-bottom: 16px; }
strong { font-weight: 700; color: #13426D; }
em { color: #807054; font-style: italic; }

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

/* === LAYOUT & CONTAINER CLASSES === */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.text-section {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  align-items: flex-start;
}

/* Section pattern as required */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* === FLEXBOX MANDATORY PATTERNS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(19, 66, 109, 0.04);
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 250px;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(19, 66, 109, 0.12);
  transform: translateY(-2px) scale(1.01);
}
.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: 10px;
  background: #fff;
  padding: 20px 32px;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(19,66,109,0.06);
  margin-bottom: 24px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* === HEADER & NAVIGATION === */
header {
  background: #fff;
  border-bottom: 1px solid #e1e5ed;
  padding-top: 0;
  position: sticky;
  top: 0;
  z-index: 21;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 16px 20px;
  position: relative;
}
.main-nav img {
  max-height: 50px;
  margin-right: 32px;
}
.main-nav a {
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.05rem;
  color: #13426D;
  padding: 6px 18px;
  border-radius: 7px;
  background: none;
  font-weight: 500;
  transition: background .15s, color .18s;
}
.main-nav a:hover, .main-nav a:focus {
  background: #13426D20;
  color: #13426D;
}
.primary-cta {
  background: #13426D;
  color: #fff !important;
  font-family: 'Montserrat', 'Georgia', serif;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 22px;
  padding: 9px 30px;
  margin-left: 12px;
  transition: background .15s, color .15s, box-shadow 0.17s;
  box-shadow: 0 2px 8px rgba(19,66,109,0.08);
  border: none;
  display: inline-block;
}
.primary-cta:hover, .primary-cta:focus {
  background: #F4B400;
  color: #13426D !important;
  box-shadow: 0 3px 18px rgba(244,180,0, 0.07);
}

/* hamburger menu toggle */
.mobile-menu-toggle {
  display: none;
  background: #13426D;
  color: #fff;
  font-size: 28px;
  padding: 6px 14px;
  border-radius: 8px;
  margin: 10px 14px 10px auto;
  z-index: 44;
}

/* === MOBILE MENU === */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #fff;
  box-shadow: 0 12px 32px rgba(19,66,109,0.21);
  z-index: 99;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.49,1.88,.42,1), opacity 0.22s;
  opacity: 0;
}
.mobile-menu.open {
  display: block;
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  background: transparent;
  color: #13426D;
  font-size: 32px;
  border: none;
  border-radius: 8px;
  position: absolute;
  top: 18px;
  right: 24px;
  z-index: 104;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #F4B40025;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 68px;
  align-items: flex-start;
  padding-left: 32px;
  font-size: 1.2rem;
}
.mobile-nav a {
  color: #13426D;
  font-family: 'Montserrat', 'Georgia', serif;
  padding: 14px 0;
  border-radius: 8px;
  width: 100%;
  background: none;
  transition: background 0.11s, color 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #13426D10;
  color: #1b232e;
  padding-left: 12px;
}

/* Responsive nav */
@media (max-width: 1024px) {
  .main-nav { gap: 6px; }
  .main-nav img { margin-right: 12px; }
}
@media (max-width: 900px) {
  .main-nav {
    gap: 3px;
    padding: 15px 10px 14px 10px;
  }
  .main-nav a, .primary-cta {
    font-size: 1rem;
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* === HERO SECTIONS & SPECIAL CLASSES === */
.hero, .hero-section, .contact-hero {
  background: linear-gradient(108deg, #F7F7F7 0%, #ffffff 100%);
  padding: 65px 0 50px 0;
  border-bottom: 1.5px solid #e5e7ef;
  margin-bottom: 0;
}
.hero .container, .hero-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.hero h1, .hero-section h1, .contact-hero h1 {
  color: #13426D;
  font-size: 2.5rem;
}
.hero p, .hero-section p, .contact-hero p {
  color: #434a58;
  font-size: 1.18rem;
  margin-bottom: 26px;
}

/* === FEATURE LISTS & COMPARISON TABLES === */
.features ul, .about-mission ul, .about-team ul,
.key-insights ul, .tech-trends ul, .next-steps-info ul {
  list-style: disc;
  padding-left: 21px;
  margin: 18px 0 16px 0;
}
.features li, .about-mission li, .about-team li, .key-insights li,
.tech-trends li, .next-steps-info li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 1rem;
}
.features img,
.about-team img,
.comparison-preview img,
.contact-info img,
.footer-contact img,
li img {
  height: 1.3em;
  width: 1.3em;
  margin-right: 7px;
  opacity: .77;
}

/* TABLES & COMPARISON GRID === */
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  margin: 24px 0 24px 0;
  box-shadow: 0 2px 14px rgba(19,66,109,0.077);
}
thead {
  background: #13426D10;
}
th, td {
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 1rem;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid #e7e9ef;
  color: #263444;
}
th {
  color: #13426D;
  font-weight: 700;
}
tr:last-child td { border-bottom: none; }
tbody tr:hover {
  background: #f6f8fa;
  transition: background 0.15s;
}
tbody tr {
  transition: background 0.16s;
}

/* === FORMS & INPUTS === */
input[type="text"], input[type="email"], textarea {
  border: 1.2px solid #d3dae8;
  background: #fff;
  border-radius: 8px;
  padding: 13px 18px;
  margin-bottom: 16px;
  width: 100%;
  font-size: 1.02rem;
  font-family: 'Roboto', 'Georgia', serif;
  color: #13426D;
  transition: border-color 0.18s, box-shadow 0.15s;
}
input[type="text"]:focus, input[type="email"]:focus, textarea:focus {
  border-color: #F4B400;
  box-shadow: 0 0 0 2px #f4b40033;
}
textarea {
  resize: vertical;
  min-height: 100px;
}
button, .newsletter-form button {
  background: #13426D;
  color: #fff;
  font-family: 'Montserrat', 'Georgia', serif;
  border: none;
  border-radius: 22px;
  font-size: 1.07rem;
  font-weight: 600;
  padding: 10px 28px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.15s, color 0.15s, box-shadow 0.14s;
  box-shadow: 0 1px 6px rgba(19,66,109,.08);
  letter-spacing: .03em;
}
button:hover, button:focus,
.newsletter-form button:hover, .newsletter-form button:focus {
  background: #F4B400;
  color: #13426D;
  box-shadow: 0 1px 10px #F4B40044;
}
.form-note {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.97rem;
  color: #5e6778;
  margin-bottom: 4px;
}

/* === NEWSLETTERS === */
.newsletter-form {
  display: flex;
  align-items: center;
  gap: 13px;
  flex-wrap: wrap;
  margin-top: 6px;
}
@media (max-width: 768px) {
  .newsletter-form {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* === TESTIMONIAL CARDS === */
.testimonial-card {
  background: #fff;
  border-left: 5px solid #F4B400;
  margin-bottom: 20px;
  color: #203042;
  box-shadow: 0 2px 10px rgba(19,66,109,0.062);
  font-size: 1.09rem;
  gap: 12px;
  margin-top: 16px;
  min-width: 230px;
}
.testimonial-card p {
  font-size: 1.09rem;
  color: #203042;
  font-style: italic;
  margin-bottom: 0;
}
.testimonial-card span {
  font-size: 0.94rem;
  color: #857438;
}
.testimonial-card strong {
  color: #13426D;
}

/* === CARD GRID & SPECIAL CARDS === */
.reports-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}
.report-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 20px rgba(19,66,109,0.07);
  flex: 1 1 300px;
  padding: 26px 20px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 250px;
  margin-bottom: 20px;
  transition: box-shadow 0.13s, transform 0.13s;
}
.report-card h3 {
  font-size: 1.22rem;
}
.report-card a {
  font-size: 0.97rem;
  color: #F4B400;
  margin-bottom: 2px;
  font-family: 'Montserrat', 'Georgia', serif;
}
.report-card:hover {
  box-shadow: 0 4px 24px #13426D18;
  transform: translateY(-1.5px) scale(1.011);
}

/* === NEWS PAGE === */
.news-items-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.news-items-list article {
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 10px rgba(19,66,109,0.04);
  padding: 18px 20px;
  transition: box-shadow 0.15s, transform 0.17s;
}
.news-items-list article:hover {
  box-shadow: 0 7px 24px #f4b40020;
  transform: translateY(-1.5px);
}
.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.news-meta .date {
  font-size: .97rem;
  color: #888c99;
}
.news-meta .tag {
  background: #F4B40011;
  color: #a77f02;
  border-radius: 6px;
  padding: 2px 12px;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: .96rem;
  font-weight: 600;
}

/* === FOOTER === */
footer {
  background: #F7F7F7;
  color: #263444;
  padding: 38px 0 18px 0;
  border-top: 1.5px solid #e1e5ed;
  margin-top: 60px;
}
.footer-nav, .footer-contact, .footer-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
  justify-content: center;
}
.footer-nav a {
  color: #13426D;
  font-size: 0.99rem;
  font-family: 'Roboto', 'Georgia', serif;
  margin-right: 14px;
  margin-bottom: 2px;
}
.footer-nav a:hover {
  text-decoration: underline;
  color: #F4B400;
}
.footer-contact span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.98rem;
  margin-right: 14px;
}
.footer-brand img {
  height: 32px;
  margin-right: 9px;
}
.footer-brand span {
  font-size: 0.93rem;
  color: #888c99;
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 1200px) {
  .container { max-width: 98vw; }
}
@media (max-width: 900px) {
  .container { max-width: 100vw; padding: 0 10px; }
}
@media (max-width: 900px) {
  .content-grid, .reports-grid, .card-container {
    gap: 14px;
  }
}
@media (max-width: 768px) {
  .container { padding-left: 8px; padding-right: 8px; }
  .content-wrapper { gap: 16px; }
  .reports-grid, .card-container { gap: 12px; }
  .footer-nav, .footer-contact { gap: 10px; font-size: 0.97rem; }
  .footer-brand img { height: 23px; margin-right: 4px; }
}
@media (max-width: 640px) {
  th, td { padding: 7px 8px; font-size: 0.97rem; }
  .section { padding: 22px 4px; }
}
@media (max-width: 768px) {
  .hero, .hero-section, .contact-hero { padding: 35px 0 36px 0; }
  .text-image-section { flex-direction: column; gap: 18px; align-items: flex-start; }
}
@media (max-width: 600px) {
  .testimonial-card { padding: 14px 7px; font-size: .97rem; }
}

/* Table horizontal scroll on mobile */
@media (max-width: 600px) {
  table { display: block; overflow-x: auto; }
}

/* === COOKIE CONSENT BANNER & MODAL === */
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: #fff;
  color: #13426D;
  border-top: 2px solid #F4B400;
  box-shadow: 0 -10px 28px -18px #13426D33;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 22px 14px 18px 14px;
  gap: 24px;
  z-index: 9999;
  animation: cookieBannerFadeIn 0.7s cubic-bezier(.77,.2,.2,1);
}
@keyframes cookieBannerFadeIn {
  0% { opacity: 0; bottom: -40px; }
  100% { opacity: 1; bottom: 0; }
}
.cookie-banner .cookie-text {
  font-family: 'Roboto', 'Georgia', serif;
  font-size: 1rem;
  margin-right: 22px;
  color: #13426D;
  max-width: 425px;
}
.cookie-banner .banner-btns {
  display: flex;
  gap: 12px;
}
.cookie-banner button {
  background: #13426D;
  color: #fff;
  border-radius: 17px;
  font-size: 1rem;
  font-weight: 500;
  padding: 7px 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 1px 6px #13426D13;
  transition: background .16s, color .13s, box-shadow 0.12s;
}
.cookie-banner button:hover {
  background: #F4B400;
  color: #13426D;
}
.cookie-banner button.settings-btn {
  background: #fff;
  color: #13426D;
  border: 1.2px solid #F4B400;
}
.cookie-banner button.settings-btn:hover {
  background: #F7F7F7;
  color: #a77f02;
}
@media (max-width: 770px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 9px;
    padding: 18px 7px 15px 8px;
  }
  .cookie-banner .cookie-text { margin-right: 0; }
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal-backdrop {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #13426D55;
  z-index: 99998;
  opacity: 0.7;
}
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  background: #fff;
  color: #13426D;
  border-radius: 14px;
  min-width: 300px;
  max-width: 97vw;
  padding: 30px 24px 18px 24px;
  box-shadow: 0 12px 48px #13426D2a;
  z-index: 100000;
  transform: translate(-50%, -50%) scale(1.02);
  animation: cookieModalPopIn 0.3s cubic-bezier(.6,1.7,.35,1.21);
}
@keyframes cookieModalPopIn {
  0% { transform: translate(-50%, -40%) scale(.97); opacity: 0.1; }
  100% { transform: translate(-50%, -50%) scale(1.02); opacity: 1; }
}
.cookie-modal h2 {
  margin-bottom: 8px;
  color: #13426D;
  font-family: 'Montserrat', 'Georgia', serif;
  font-size: 1.32rem;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 14px 0 18px 0;
}
.cookie-modal .category {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.06rem;
}
.cookie-modal .category input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #F4B400;
}
.cookie-modal .essential-span {
  color: #a77f02;
  font-style: italic;
  margin-left: 6px;
}
.cookie-modal .modal-btns {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 8px;
}
.cookie-modal .modal-close {
  background: #fff;
  color: #13426D;
  border: 1.2px solid #cfd5e3;
}
.cookie-modal .modal-close:hover { background: #F7F7F7; color: #a77f02; }

/* === MISC UTILITY === */
.mt-4 { margin-top: 16px !important; }
.mb-4 { margin-bottom: 16px !important; }
.pt-4 { padding-top: 16px !important; }
.pb-4 { padding-bottom: 16px !important; }

/* === ELEGANT SPACING & BORDERS === */
.section, .about-mission, .about-team, .about-approach, .about-testimonials, .comparison-preview, .comparison-table,
.equipment-overview, .tech-trends, .next-steps-info, .privacy-policy, .thank-you-section, .terms-section, .gdpr-section, .cookie-policy {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 1.5px 19px rgba(19,66,109,.032);
}

@media (max-width: 768px) {
  .section, .about-mission, .about-team, .about-approach, .about-testimonials, .comparison-preview, .comparison-table,
  .equipment-overview, .tech-trends, .next-steps-info, .privacy-policy, .thank-you-section, .terms-section, .gdpr-section, .cookie-policy {
    padding: 20px 5px;
    border-radius: 10px;
  }
}

/* === OTHER RESPONSIVE FLEX RULES === */
@media (max-width: 900px) {
  .content-grid, .reports-grid, .card-container {
    flex-direction: column;
    gap: 18px;
  }
}
/* For text-image section specifically */
@media (max-width: 768px) {
  .text-image-section { flex-direction: column; gap: 17px; }
}

/* === Feature Items List for Home "features" section === */
.features .content-wrapper ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  margin-left: 0;
}
.features .content-wrapper ul li {
  flex: 1 1 340px;
  background: #F7F7F7;
  border: 1.3px solid #e1e6eb;
  border-radius: 10px;
  padding: 20px;
  min-width: 240px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.06rem;
  margin-bottom: 0;
  box-shadow: 0 2px 10px rgba(19,66,109,.018);
  transition: box-shadow 0.13s, border-color 0.14s;
}
.features .content-wrapper ul li:hover {
  border-color: #F4B400;
  box-shadow: 0 2px 16px #F4B40015;
}
@media (max-width: 900px) {
  .features .content-wrapper ul { flex-direction: column; gap: 13px; }
}

/* === KEY METRICS AND SPECIAL BULLETS === */
.key-metrics ul {
  background: #F7F7F7;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 12px;
  list-style: disc;
}
.key-metrics li {
  margin-left: 14px;
  color: #13426D;
  font-size: 0.97rem;
}

/* === SPECIAL INFO BOXES === */
.next-steps-info ul {
  background: #F7F7F7;
  padding: 13px 19px;
  border-radius: 8px;
  margin-top: 11px;
  font-size: 1.04rem;
}

/* === GENERAL TRANSITIONS === */
.card, .testimonial-card, .report-card, .features .content-wrapper ul li, .news-items-list article {
  transition: box-shadow 0.13s, transform 0.11s, border-color 0.13s;
}

/* === OVERRIDES FOR SPECIAL SECTIONS === */
.about-summary .content-wrapper, .about-mission .content-wrapper, .about-approach .content-wrapper, .contact-info .content-wrapper {
  max-width: 740px;
}

/* === Z-INDEX for overlays === */
.mobile-menu { z-index: 99; }
.cookie-modal { z-index: 100000; }

/* === Selection Highlight Color === */
::selection { background: #F4B40044; color: #13426D; }
