/* ========================================================================
 * CSS RESET AND BASE STYLES (Normalize-like)
 * ====================================================================== */
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 {
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: #F5F7FA;
  color: #263248;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #1295D8;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #1270A0;
  text-decoration: underline;
  outline: none;
}

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ========================================================================
 * TYPOGRAPHY
 * ====================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #263248;
  margin-bottom: 20px;
  line-height: 1.15;
}
h1 {
  font-size: 2.5rem; /* 40px */
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem; /* 32px */
  margin-bottom: 20px;
}
h3 {
  font-size: 1.5rem; /* 24px */
}
h4 {
  font-size: 1.25rem; /* 20px */
}
h5 {
  font-size: 1.125rem; /* 18px */
}
h6 {
  font-size: 1rem; /* 16px */
}
p, li, span {
  font-size: 1rem;
  color: #263248;
}
strong {
  font-weight: 700;
}

em {
  color: #1295D8;
  font-style: italic;
}

/* ========================================================================
 * UTILITIES, CONTAINER & COMMON LAYOUT
 * ====================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(38,50,72,0.04);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (max-width: 768px) {
  .section {
    padding: 24px 8px;
    margin-bottom: 36px;
    border-radius: 10px;
  }
  .container {
    padding: 0 8px;
  }
}


/* ========================================================================
 * HEADER, NAVIGATION, AND BUTTONS
 * ====================================================================== */
header {
  background: #263248;
  color: #fff;
  padding: 0;
  width: 100%;
  box-shadow: 0 2px 8px rgba(38,50,72,0.07);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header__brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
header nav {
  display: flex;
  gap: 28px;
}
header nav a {
  color: #F5F7FA;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 500;
  font-size: 1rem;
  padding: 10px 2px;
  border-radius: 4px;
  transition: background 0.12s, color 0.2s;
}
header nav a:hover, header nav a:focus {
  background: #1295D8;
  color: #FFFFFF;
  outline: none;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 32px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(18,149,216,0.08);
  margin: 8px 0;
}
.btn-primary {
  background: #1295D8;
  color: #fff;
  border: 2px solid #1295D8;
}
.btn-primary:hover, .btn-primary:focus {
  background: #1270A0;
  border-color: #1270A0;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #1295D8;
  border: 2px solid #1295D8;
}
.btn-secondary:hover, .btn-secondary:focus {
  background: #F5F7FA;
  color: #1270A0;
  border-color: #1270A0;
}

header .btn-primary {
  margin-left: 32px;
}

/* Mobile Menu
   ===================================================================== */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  display: none;
  cursor: pointer;
  margin-left: 24px;
  z-index: 41;
  transition: color 0.18s;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  color: #1295D8;
}
@media (max-width: 992px) {
  header .btn-primary {
    margin-left: 12px;
    padding: 12px 16px;
  }
  header nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #263248;
  color: #fff;
  z-index: 1700;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(.77,0,.175,1);
  pointer-events: none;
  opacity: 0.97;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  padding: 16px 24px 8px 16px;
  align-self: flex-end;
  cursor: pointer;
  transition: color 0.12s;
  z-index: 1800;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  color: #1295D8;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin: 40px 0 0 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  padding: 10px 0;
  border-radius: 4px;
  transition: background 0.12s, color 0.18s;
  min-width: 220px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #1295D8;
  color: #fff;
}
@media (max-width: 768px) {
  .mobile-menu {
    min-width: 0;
    padding: 0;
  }
  .mobile-nav {
    margin-left: 12px;
    gap: 20px;
  }
  .mobile-menu-close {
    padding: 16px 8px 8px 4px;
  }
}

/* ========================================================================
 * MAIN LAYOUT PATTERNS
 * ====================================================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(38,50,72,0.08);
  margin-bottom: 20px;
  padding: 28px 24px;
  position: relative;
  min-width: 260px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.14s;
}
.card:hover {
  box-shadow: 0 6px 24px rgba(18,149,216,0.12);
  transform: translateY(-4px) scale(1.012);
}

.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.text-image-section {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
@media (max-width: 768px) {
  .text-image-section, .content-grid  {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: #F5F7FA;
  border-radius: 10px;
  padding: 20px 16px;
  margin-bottom: 20px;
  box-shadow: 0 1px 8px rgba(38,50,72,0.03);
  min-width: 240px;
  transition: box-shadow 0.15s;
}
.feature-item:hover {
  box-shadow: 0 3px 16px rgba(18,149,216,0.09);
}

/* ========================================================================
 * SERVICES & PRICING CARDS
 * ====================================================================== */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.service-card {
  flex: 1 1 285px;
  background: #fff;
  border-radius: 10px;
  padding: 28px 20px 22px 20px;
  box-shadow: 0 2px 12px rgba(18,149,216,0.05);
  margin-bottom: 20px;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 4px solid #1295D8;
  transition: box-shadow 0.14s, border 0.16s;
}
.service-card strong {
  color: #1295D8;
}
.service-card:hover {
  box-shadow: 0 4px 24px rgba(18,149,216,0.14);
  border-left: 4px solid #1270A0;
}

.price {
  color: #1295D8;
  background: #F5F7FA;
  border-radius: 6px;
  padding: 3px 12px;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  margin-left: 12px;
}

/* ========================================================================
 * TESTIMONIALS
 * ====================================================================== */
.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px;
  margin-bottom: 22px;
  background: #F5F7FA;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(38,50,72,0.09);
  color: #263248;
  min-width: 240px;
  border-left: 4px solid #1295D8;
  font-size: 1.06rem;
  position: relative;
  transition: box-shadow 0.18s, border 0.16s;
}
.testimonial-card:hover {
  box-shadow: 0 6px 24px rgba(18,149,216,0.16);
  border-left: 4px solid #1270A0;
}
.testimonial-card p {
  color: #263248;
  font-style: italic;
  font-size: 1.06rem;
  margin-bottom: 6px;
}
.testimonial-card span {
  color: #1295D8;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
}

/* ========================================================================
 * FOOTER
 * ====================================================================== */
footer {
  background: #263248;
  color: #fff;
  padding: 0;
}
footer .container {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  min-height: 120px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}
footer nav {
  display: flex;
  gap: 26px;
}
footer nav a {
  color: #BFC7D5;
  font-size: 1rem;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  transition: color 0.2s;
  font-weight: 500;
}
footer nav a:hover, footer nav a:focus {
  color: #1295D8;
}
footer .social-links {
  display: flex;
  gap: 20px;
  align-items: center;
}
footer .social-links a {
  background: #fff;
  border-radius: 50%;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  transition: background 0.16s, box-shadow 0.18s;
  box-shadow: 0 1px 6px rgba(18,149,216,0.07);
}
footer .social-links a:hover { background: #1295D8; }
footer .social-links a img {
  width: 22px;
  height: 22px;
  display: block;
}

@media (max-width: 768px) {
  footer .content-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
  }
  footer nav {
    gap: 14px;
  }
  footer .social-links {
    gap: 12px;
  }
}

/* ========================================================================
 * FORM ELEMENTS & LISTS
 * ====================================================================== */
input, textarea, select, button {
  font-family: inherit;
  font-size: 1rem;
  border-radius: 6px;
  border: 1px solid #BFC7D5;
  padding: 10px 14px;
  outline: none;
  margin-bottom: 18px;
  background: #fff;
  color: #263248;
  transition: border 0.17s;
}
input:focus, textarea:focus, select:focus {
  border-color: #1295D8;
}
button {
  cursor: pointer;
}

ul li, ol li {
  padding-left: 0;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: #263248;
}
ul li img, ol li img {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  flex-shrink: 0;
}

/* ========================================================================
 * ADDRESS, MAP, AND INFO BLOCKS
 * ====================================================================== */
.address-map {
  background: #F5F7FA;
  border-radius: 10px;
  padding: 20px;
  font-style: italic;
  color: #395074;
  margin-top: 12px;
}

/* ========================================================================
 * COOKIE CONSENT BAR AND MODAL
 * ====================================================================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2500;
  background: #263248;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  box-shadow: 0 -2px 18px rgba(38,50,72,0.15);
  font-size: 1rem;
  transition: transform 0.42s cubic-bezier(.77,0,.175,1);
  transform: translateY(0);
}
.cookie-consent-banner.hide {
  transform: translateY(110%);
}
.cookie-consent-banner .cookie-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.cookie-consent-banner button {
  border: none;
  border-radius: 7px;
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 22px;
  margin: 0 2px;
  cursor: pointer;
  transition: background 0.16s, color 0.16s, box-shadow 0.12s;
}
.cookie-consent-banner .accept-btn {
  background: #1295D8;
  color: #fff;
}
.cookie-consent-banner .accept-btn:hover {
  background: #1270A0;
}
.cookie-consent-banner .reject-btn {
  background: #fff;
  color: #263248;
  border: 2px solid #BFC7D5;
}
.cookie-consent-banner .reject-btn:hover {
  border-color: #1295D8;
  color: #1295D8;
}
.cookie-consent-banner .settings-btn {
  background: #F5F7FA;
  color: #263248;
}
.cookie-consent-banner .settings-btn:hover {
  background: #1295D8;
  color: #fff;
}
@media (max-width: 768px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 10px 22px 10px;
    font-size: 0.95rem;
  }
  .cookie-consent-banner .cookie-actions {
    gap: 8px;
  }
}

/* Cookie Modal */
.cookie-modal-overlay {
  position: fixed; left:0; top:0; right:0; bottom:0;
  background: rgba(38,50,72,0.5);
  z-index: 3100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s;
}
.cookie-modal-overlay.hide {
  opacity: 0;
  pointer-events: none;
}
.cookie-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(18,149,216,0.13);
  max-width: 420px;
  width: 96vw;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  color: #263248;
  animation: cookieModalAppear 0.44s cubic-bezier(.33,.85,.55,1.2);
}
@keyframes cookieModalAppear {
  0% { transform: scale(0.96) translateY(44px); opacity:0; }
  100% { transform: scale(1) translateY(0); opacity:1; }
}
.cookie-modal h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #1295D8;
}
.cookie-modal .cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: #F5F7FA;
  border-radius: 9px;
  padding: 13px 16px;
  min-height: 40px;
}
.cookie-category .cookie-toggle {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cookie-modal .cookie-info {
  font-size: 0.97rem;
  color: #395074;
}
.cookie-modal .modal-actions {
  display: flex;
  flex-direction: row;
  gap: 16px;
  justify-content: flex-end;
  margin-top: 10px;
}
.cookie-modal .modal-close {
  position: absolute;
  right: 14px;
  top: 10px;
  background: none;
  color: #1295D8;
  border: none;
  font-size: 1.55rem;
  cursor: pointer;
  transition: color 0.15s;
}
.cookie-modal .modal-close:hover {
  color: #1270A0;
}
/* Toggle switch style for category toggles */
.cookie-toggle input[type="checkbox"] {
  display: none;
}
.cookie-toggle label {
  position: relative;
  display: inline-block;
  width: 41px;
  height: 23px;
  background: #BFC7D5;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.17s;
}
.cookie-toggle label:after {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 15px;
  height: 15px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s, background 0.16s;
}
.cookie-toggle input[type="checkbox"]:checked + label {
  background: #1295D8;
}
.cookie-toggle input[type="checkbox"]:checked + label:after {
  transform: translateX(18px);
  background: #fff;
}

.cookie-toggle .toggle-label {
  font-size: 1rem;
  margin-left: 11px;
}

/* Essential cookie - disabled toggle */
.cookie-toggle.disabled label {
  background: #BFC7D5;
  cursor: not-allowed;
  opacity: 0.7;
}
.cookie-toggle.disabled label:after {
  background: #F5F7FA;
}

@media (max-width: 480px) {
  .cookie-modal {
    max-width: 98vw;
    padding: 22px 6px;
  }
}
/* Hide cookie modal overlay by default */
.cookie-modal-overlay:not(.open) {
  display: none;
}

/* ========================================================================
 * ANIMATIONS AND MICROINTERACTIONS
 * ====================================================================== */
.btn-primary, .btn-secondary, .service-card, .card {
  transition:
    box-shadow 0.18s,
    transform 0.16s,
    background 0.13s,
    color 0.17s,
    border-color 0.17s;
}
.btn-primary:active,
.btn-secondary:active {
  transform: scale(0.98);
}

.card:active, .service-card:active {
  transform: scale(0.99);
  box-shadow: 0 3px 22px rgba(18,149,216,0.07) !important;
}

/* ========================================================================
 * RESPONSIVE TYPOGRAPHY
 * ====================================================================== */
@media (max-width: 576px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1rem; }
  h4 { font-size: 0.98rem; }
}

/* ========================================================================
 * MISC/HELPERS FOR CONTENT
 * ====================================================================== */
.mt-24 { margin-top: 24px; }
.mt-16 { margin-top: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-16 { margin-bottom: 16px; }
.text-center { text-align: center; }

/* Visiblity helpers, can be toggled by JS as needed */
.hide { display: none !important; }
.show { display: block !important; }
.visible { visibility: visible !important; opacity: 1 !important; }
.invisible { visibility: hidden !important; opacity: 0 !important; }

/* ========================================================================
 * OVERRIDE DEFAULTS FOR ACCESSIBILITY/CORPORATE TONE
 * ====================================================================== */
:focus {
  outline: 2px solid #1295D8;
  outline-offset: 2px;
}

[tabindex="-1"]:focus {
  outline: none !important;
}

/* Add space after section except last child */
main section:not(:last-child) {
  margin-bottom: 60px;
}
@media (max-width: 640px) {
  main section:not(:last-child) {
    margin-bottom: 34px;
  }
}

/* Specific Offer/Portfolio List styles for icons with text */
ul li img, ol li img {
  margin-right: 10px;
  margin-top: 0;
}

/* ========================================================================
 * SCROLLBAR STYLING (Modern blue/gray look)
 * ====================================================================== */
body::-webkit-scrollbar {
  width: 12px;
  background: #F5F7FA;
}
body::-webkit-scrollbar-thumb {
  background: #BFC7D5;
  border-radius: 8px;
}
body::-webkit-scrollbar-thumb:hover {
  background: #1295D8;
}

/* ========================================================================
 * PRINT STYLES (Optional: simple corporate)
 * ====================================================================== */
@media print {
  header, footer, .mobile-menu, .cookie-consent-banner, .cookie-modal-overlay { display: none !important; }
  body { background: #fff !important; color: #263248; }
  .section { box-shadow: none; }
}

/* ========================================================================
 * END OF STYLE.CSS (Twilight Myst)
 * ====================================================================== */
