/* === CSS 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, 
main, 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;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
body {
  line-height: 1.5;
  background: #F2F6FA;
  min-height: 100vh;
  color: #243B55;
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  background-color: transparent;
  color: #11708B;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #15616D;
}
ul, ol {
  list-style: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  box-sizing: border-box;
}
button {
  cursor: pointer;
  background: none;
}

/* === BRAND VARIABLES === */
:root {
  --primary: #243B55;
  --secondary: #F2F6FA;
  --accent: #11708B;
  --accent-dark: #15616D;
  --white: #FFFFFF;
  --shadow: 0 2px 12px rgba(36, 59, 85, 0.08), 0 1.5px 6px rgba(18, 38, 66, 0.06);
  --radius-lg: 20px;
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.25s cubic-bezier(.77,.2,.2,.99);
  --section-spacing: 60px;
  --container-padding: 20px;
  --max-container: 1120px;
  --font-display: 'Montserrat', Arial, Helvetica, sans-serif;
  --font-body: 'Roboto', Arial, Helvetica, sans-serif;
}

/* === LAYOUT CONTAINERS === */
.container {
  width: 100%;
  max-width: var(--max-container);
  padding: 0 var(--container-padding);
  margin: 0 auto;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.section {
  margin-bottom: var(--section-spacing);
  padding: 40px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition);
}
@media (max-width: 900px) {
  .container {
    max-width: 95vw;
  }
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.6rem;
  margin-bottom: 12px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 7px;
}
h4 { font-size: 1.1rem; }
.subheadline {
  font-family: var(--font-body);
  color: #35628b;
  font-size: 1.125rem;
  margin-bottom: 16px;
}
p, ul, ol, address, blockquote, cite {
  font-family: var(--font-body);
  color: #222;
  font-size: 1.05rem;
  line-height: 1.7;
}
ul, ol {
  margin-left: 22px;
}
ul li, ol li {
  margin-bottom: 10px;
  line-height: 1.6;
}
strong {
  font-weight: bold;
}

/* === HEADER & NAVIGATION === */
header {
  background: linear-gradient(90deg, #243B55 0%, #11708B 100%);
  box-shadow: 0 2px 12px rgba(36,59,85,0.08);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
  padding: 0 20px;
}
header img {
  max-height: 46px;
}
nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
nav a {
  color: #fff;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  padding: 7px 0;
  border-radius: 6px;
  position: relative;
  transition: background var(--transition), color var(--transition);
}
nav a:hover, nav a:focus {
  background: rgba(255,255,255,0.08);
}
.cta-btn {
  background: linear-gradient(90deg, #11708B 0%, #15616D 100%);
  color: #fff !important;
  border-radius: 8px;
  padding: 9px 26px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-left: 12px;
  box-shadow: 0 3px 8px rgba(17,112,139,0.11);
  border: none;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  outline: none;
}
.cta-btn:hover, .cta-btn:focus {
  background: linear-gradient(90deg, #15616D 0%, #11708B 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 5px 20px rgba(17,112,139,0.15);
}

/* ==== MOBILE NAVIGATION ==== */
.mobile-menu-toggle {
  display: none;
  font-size: 2rem;
  color: #fff;
  padding: 0 8px;
  background: none;
  border: none;
  z-index: 130;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, #11708B 30%, #243B55 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 26px 18px 16px 29px;
  transform: translateX(-110vw);
  opacity: 0;
  z-index: 200;
  transition: transform 0.5s cubic-bezier(.77,.2,.2,.99), opacity 0.3s;
  width: 100vw;
  height: 100vh;
  box-shadow: 0 8px 40px rgba(36,59,85,0.25);
}
.mobile-menu.active {
  transform: translateX(0);
  opacity: 1;
}
.mobile-menu-close {
  align-self: flex-end;
  font-size: 2.1rem;
  background: none;
  color: #fff;
  border: none;
  margin-bottom: 20px;
  margin-right: 3px;
  padding: 0 8px;
  z-index: 175;
  cursor: pointer;
  transition: color 0.2s;
}
.mobile-menu-close:focus, .mobile-menu-close:hover {
  color: #FCE205;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: 95%;
  margin-top: 20px;
}
.mobile-nav a {
  color: #fff;
  font-size: 1.25rem;
  padding: 10px 6px;
  border-radius: 7px;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.004em;
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: rgba(255,255,255,0.16);
  color: #FCE205;
}

@media (max-width: 1050px) {
  nav {
    gap: 12px;
  }
  header .container {
    gap: 6px;
    padding: 0 7px;
  }
}
@media (max-width: 900px) {
  nav {
    flex-wrap: wrap;
    gap: 5px;
  }
  .cta-btn {
    margin-left: 1px;
    padding: 10px 13px;
    font-size: 1rem;
  }
}
@media (max-width: 768px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}
@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* === HERO & SECTION STYLES === */
section {
  margin-bottom: var(--section-spacing);
  padding: 0;
  background: none;
}
section:first-of-type {
  margin-top: 38px;
}

/* --- Gradient background band for hero --- */
section:first-of-type .container {
  background: linear-gradient(120deg, #F2F6FA 48%, #fff 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 2px 22px rgba(36,59,85,0.10);
  padding: 44px 24px 48px 24px;
  margin-bottom: 0;
}
@media (max-width:700px) {
  section:first-of-type .container {
    padding: 24px 6px 30px 6px;
  }
}

/* === FEATURES GRID / CARDS ETC === */
.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: space-between;
}
.features-grid li {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 220px;
  max-width: 330px;
  min-width: 220px;
  padding: 28px 18px 18px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  transition: box-shadow var(--transition), transform var(--transition);
  margin-bottom: 20px;
}
.features-grid li img {
  width: 36px; height: 36px;
  margin-bottom: 6px;
}
.features-grid li:hover, .features-grid li:focus {
  box-shadow: 0 6px 26px rgba(36,59,85,0.13);
    transform: translateY(-3px) scale(1.015);
}

.services-list, .benefit-list, .usp-list, .faq-list {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.services-list li, .benefit-list li, .usp-list li, .faq-list li {
  background: #fff;
  border-radius: var(--radius);
  padding: 22px 17px;
  box-shadow: var(--shadow);
  font-size: 1.07rem;
  margin-bottom: 18px;
}
.services-list span {
  color: var(--accent);
  font-weight: 500;
  margin-top: 5px;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
  justify-content: space-between;
}
.service-item {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 265px;
  min-width: 230px;
  max-width: 330px;
  padding: 26px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-item:hover, .service-item:focus {
  box-shadow: 0 8px 22px rgba(21,97,109,0.10);
  transform: translateY(-4px) scale(1.015);
}
.benefit-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 12px;
}
.benefit-grid > div {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 210px;
  min-width: 210px;
  padding: 23px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 950px) {
  .features-grid, .services-grid, .benefit-grid {
    gap: 15px;
  }
}
@media (max-width: 700px) {
  .features-grid, .services-grid, .benefit-grid {
    flex-direction: column;
    gap: 14px;
  }
  .features-grid li, .service-item, .benefit-grid > div {
    max-width: 100%;
    min-width: 0;
  }
}

/* === SECTION SPACINGS === */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 32px 24px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .card:focus {
  box-shadow: 0 10px 30px rgba(36,59,85,0.13);
  transform: translateY(-3px) scale(1.016);
}
.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: 22px;
  }
}

.text-section {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 13px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

.trust-seals {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 15px;
  align-items: center;
}
.trust-seals img {
  height: 38px;
}

/* === TABLE STYLES === */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0 12px 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
th, td {
  padding: 15px 12px;
  border-bottom: 1px solid #e5e8ed;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #243B55;
}
th {
  background: #F2F6FA;
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}

/* === ADDRESS === */
address, .address-brief {
  font-style: normal;
  color: #243B55;
  margin: 9px 0;
  line-height: 1.7;
}

/* === TESTIMONIALS === */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
  flex-wrap: wrap;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  border-left: 5px solid var(--accent);
}
.testimonial-card blockquote {
  color: #243B55;
  font-size: 1.14rem;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 4px;
  quotes: '\201C''\201D''\2018''\2019';
}
.testimonial-card cite {
  color: #15616D;
  font-style: normal;
  font-size: 0.99rem;
  font-family: var(--font-body);
  font-weight: 400;
}
.testimonial-card:hover, .testimonial-card:focus {
  box-shadow: 0 10px 32px rgba(21,97,109,0.13);
  transform: translateY(-2px) scale(1.018);
}

@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 7px;
  }
}

/* === FOOTER === */
footer {
  background: linear-gradient(90deg, #243B55 0%, #15616D 100%);
  color: #fff;
  margin-top: 70px;
  padding: 25px 0 0 0;
}
footer .container {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
footer .content-wrapper {
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  color: #fff;
}
footer .footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-bottom: 6px;
}
footer .footer-menu a {
  color: #fff;
  font-size: 0.97rem;
  font-family: var(--font-body);
  padding: 6px 8px;
  border-radius: 5px;
  transition: color var(--transition), background var(--transition);
}
footer .footer-menu a:hover {
  background: rgba(255,255,255,0.10);
  color: #FCE205;
}
footer .contact-small p {
  font-size: 0.96rem;
  color: #ebf2fa;
  font-family: var(--font-body);
}
footer .social-links {
  display: flex;
  gap: 13px;
  align-items: center;
  margin-top: 10px;
}
footer .social-links img {
  height: 32px;
  filter: drop-shadow(0 2px 8px #03617544);
  background: #fff;
  border-radius: 6px;
  padding: 3px 3px 0 3px;
}
@media (max-width: 700px) {
  footer .footer-menu {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }
  footer .social-links {
    margin-top: 2px;
  }
}

/* ========== SPACING between sections and cards ========== */
section, .section, .card-container, .features-grid, .services-grid, .content-grid {
  margin-bottom: 60px;
}
.card, .service-item, .features-grid li, .testimonial-card {
  margin-bottom: 20px;
}

/* === BUTTONS === */
button, .btn, input[type="submit"] {
  font-family: var(--font-display);
  border-radius: 7px;
  background: var(--accent);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 24px;
  margin: 3px 0;
  border: none;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 0 2px 8px rgba(17,112,139,0.09);
}
button:hover, .btn:hover, input[type="submit"]:hover, button:focus {
  background: var(--accent-dark);
  color: #fff;
  box-shadow: 0 5px 18px rgba(21,97,109,0.14);
  transform: translateY(-2px) scale(1.03);
}

/* === COOKIES CONSENT BANNER === */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  background: #F2F6FA;
  box-shadow: 0 -3px 18px rgba(17,112,139,0.22);
  z-index: 500;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: cookie-slide-up 0.7s cubic-bezier(.7,.38,.13,.96);
}
@keyframes cookie-slide-up {
  0% { transform: translateY(100%); opacity: 0; }
  60% { transform: translateY(-7px); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  color: #222;
  font-family: var(--font-body);
  font-size: 1.02rem;
  text-align: center;
  margin-bottom: 0;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.cookie-banner .cookie-btn {
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  padding: 8px 22px;
  border: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
}
.cookie-banner .cookie-btn.reject {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid var(--accent-dark);
}
.cookie-banner .cookie-btn.settings {
  background: #243B55;
  color: #fff;
}
.cookie-banner .cookie-btn:hover, .cookie-banner .cookie-btn:focus {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}
.cookie-banner .cookie-btn.reject:hover, .cookie-banner .cookie-btn.reject:focus {
  background: #f5f7fa;
  color: var(--accent);
}
.cookie-banner .cookie-btn.settings:hover, .cookie-banner .cookie-btn.settings:focus {
  background: #15616D;
}

/* === COOKIE MODAL === */
.cookie-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(36,59,85,0.55);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadein 0.3s cubic-bezier(.58,.03,.19,.96);
}
@keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}
.cookie-modal {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 36px rgba(36,59,85,0.21);
  padding: 32px 26px 19px 26px;
  width: 98%;
  max-width: 430px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  animation: scalein 0.4s cubic-bezier(.77,.2,.2,.99);
}
@keyframes scalein {
  0% { transform: scale(0.7); opacity: 0; }
  60% { transform: scale(1.04); opacity: 1; }
  100% { transform: scale(1.0); opacity: 1; }
}
.cookie-modal h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  color: var(--accent);
  margin-bottom: 2px;
}
.cookie-modal-close {
  position: absolute;
  right: 19px; top: 19px;
  font-size: 1.3rem;
  background: none;
  color: #11708B;
  border: none;
  cursor: pointer;
  transition: color 0.17s;
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  color: #15616D;
}
.cookie-modal .cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 7px 0;
}
.cookie-modal label {
  font-size: 1rem;
  color: #243B55;
}
.cookie-modal input[type=checkbox] {
  accent-color: var(--accent-dark);
  width: 20px; height: 20px;
}
.cookie-modal .cookie-category.essential label {
  color: #15616D;
  font-weight: 600;
}
.cookie-modal .cookie-category.essential input {
  display: none;
}
.cookie-modal .cookie-actions {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cookie-modal button {
  padding: 8px 21px;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1000px) {
  h1 {
    font-size: 2.1rem;
  }
  h2 {
    font-size: 1.43rem;
  }
}
@media (max-width: 768px) {
  :root {
    --section-spacing: 34px;
    --container-padding: 5px;
  }
  h1 {
    font-size: 1.46rem;
  }
  h2 {
    font-size: 1.13rem;
  }
  .section, section, .card, .service-item {
    padding: 20px 6px;
  }
  .testimonial-card {
    padding: 12px 6px;
  }
  .card-container, .features-grid, .services-grid, .content-grid {
    gap: 11px;
    margin-bottom: 24px;
  }
}

/* =========== UTILITY CLASSES ============= */
.hide { display: none !important; }
.centered { text-align: center !important; margin-left: auto; margin-right: auto; }
.rounded { border-radius: var(--radius-lg); }

/* === FORM ELEMENTS === */
input, textarea {
  background: #f7fafd;
  border-radius: var(--radius-sm);
  border: 1px solid #e8eef3;
  padding: 11px 13px;
  margin-bottom: 16px;
  font-size: 1rem;
  width: 100%;
  transition: border var(--transition), box-shadow var(--transition);
}
input:focus, textarea:focus {
  border: 1.5px solid var(--accent-dark);
  box-shadow: 0 1px 8px rgba(21,97,109,0.11);
}
@media (max-width: 400px) {
  .cookie-modal {
    padding: 18px 3px 13px 10px;
  }
  .section, .card, .service-item {
    padding: 8px 1px;
  }
}

/* =========== Table, Blockquote, etc. Accessibility ============= */
blockquote {
  border-left: 4px solid var(--accent);
  margin-left: 0;
  padding-left: 10px;
  font-size: 1.11rem;
  color: #243B55;
  background: #F2F6FA;
}

/* ==== Print Styles ==== */
@media print {
  nav, .mobile-menu-toggle, .mobile-menu, .cta-btn, .cookie-banner, .cookie-modal-overlay {
    display: none !important;
  }
  section, .container, .footer, .content-wrapper {
    box-shadow: none !important;
    background: #fff !important;
  }
}

/* === Accessibility Improvements === */
:focus-visible {
  outline: 2px solid var(--accent-dark) !important;
  outline-offset: 2px;
}

/* ===== CUSTOM SCROLLBAR ===== */
html {
  scrollbar-color: var(--accent) #F2F6FA;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 8px;
  background: #F2F6FA;
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 7px;
}
