/* --- 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, 
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 {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background: linear-gradient(120deg, #F7FAFC 0%, #eaf6fb 100%);
  color: #0C233F;
  min-height: 100vh;
}

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

a {
  color: #50D1F5;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #0C233F;
}

button {
  font-family: 'Montserrat', 'Roboto', Arial, sans-serif;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

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

/* --- TYPOGRAPHY & BRAND FONTS --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #0C233F;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 { font-size: 1.1rem; }

p, li, blockquote {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
blockquote {
  border-left: 4px solid #50D1F5;
  padding-left: 12px;
  color: #0C233F;
  background: #eef6fa;
  border-radius: 4px;
  margin-top: 8px;
  margin-bottom: 8px;
}

strong, b {
  font-weight: bold;
}

/* Responsive Typography */
@media (min-width: 500px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.2rem; }
}
@media (min-width: 900px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
}

/* --- CONTAINER LAYOUTS --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* --- SECTIONS & SPACING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: 24px;
  background: linear-gradient(120deg, #F7FAFC 70%, #eaf6fb 100%);
  box-shadow: 0 2px 16px rgba(12,35,63, 0.04);
}

/* --- FLEXBOX GRIDS & CARDS --- */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  position: relative;
  margin-bottom: 20px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 18px 0 rgba(80,209,245,0.08), 0 0.5px 2px rgba(12,35,63,0.06);
  min-width: 260px;
  flex: 1 1 320px;
  transition: box-shadow 0.2s, transform 0.15s;
}
.card:hover,
.card:focus-within {
  box-shadow: 0 6px 24px 0 rgba(80,209,245,0.12), 0 1.5px 4px rgba(12,35,63,0.09);
  transform: translateY(-4px) scale(1.013);
}

.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) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
}

/* --- FEATURE & SERVICE GRIDS --- */
.feature-grid, .service-list, .service-grid, .blog-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.feature-item, .service-item, .service-highlight-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 rgba(12,35,63,0.05);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  min-width: 250px;
  flex: 1 1 220px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow 0.25s, transform 0.16s;
}
.feature-item img, .service-highlight-card img, .service-item img {
  width: 44px;
  height: 44px;
}

.feature-item:hover,.service-item:hover,.service-highlight-card:hover {
  box-shadow: 0 8px 36px 0 rgba(80,209,245,0.14), 0 3px 8px rgba(12,35,63,0.13);
  transform: translateY(-6px) scale(1.023);
}

.service-highlight-card {
  border: 2px solid #50D1F5;
  background: linear-gradient(135deg, #F7FAFC 80%, #D8F4FE 100%);
  min-width: 270px;
  margin-bottom: 20px;
}
.service-price {
  color: #0C233F;
  background: #E0F7FB;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 16px;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .feature-grid, .service-list, .service-grid, .blog-list {
    gap: 16px;
  }
  .feature-item, .service-item, .service-highlight-card {
    min-width: 210px;
    padding: 18px 10px;
  }
}
@media (max-width: 600px) {
  .feature-grid, .service-list, .service-grid, .blog-list {
    flex-direction: column;
    gap: 13px;
  }
  .feature-item, .service-item, .service-highlight-card {
    min-width: 0;
  }
}

/* --- TESTIMONIALS --- */
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 18px;
  background: #F2F9FB;
  box-shadow: 0 2px 10px 0 rgba(12,35,63,0.06);
  margin-bottom: 20px;
  color: #0C233F;
  flex: 1 1 340px;
}
.testimonial-card .stars {
  font-size: 1.25rem;
  color: #50D1F5;
  margin-right: 4px;
  font-family: monospace;
}
.testimonial-card span {
  font-size: 0.97rem;
  color: #1e324f;
  margin-left: auto;
  white-space: nowrap;
}
.testimonial-card p {
  margin: 0;
  font-weight: 500;
}
@media (max-width: 700px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .testimonial-card span {
    margin-left: 0;
  }
}

.user-stories-preview {
  margin: 8px 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.user-stories-preview blockquote {
  background: #F2F9FB;
  color: #0C233F;
  border-left: 4px solid #50D1F5;
}
.user-stories-preview span {
  color: #0C233F;
  font-size: 0.93rem;
  font-family: 'Roboto', Arial, sans-serif;
}

/* --- NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px 0 rgba(12,35,63,0.07);
  z-index: 101;
}
nav {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 24px;
  padding: 16px 0;
}
nav > a img {
  height: 42px;
}
nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-left: 24px;
}
nav ul li {
  display: flex;
}
nav ul li a {
  padding: 8px 13px;
  border-radius: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  color: #0C233F;
  font-size: 1rem;
  transition: background 0.14s, color 0.14s;
}
nav ul li a:hover,
nav ul li a:focus {
  background: #E0F7FB;
  color: #50D1F5;
}
.cta {
  margin-left: 16px;
  padding: 11px 28px;
  background: linear-gradient(98deg, #0C233F 36%, #50D1F5 100%);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.09rem;
  border-radius: 26px;
  box-shadow: 0 4px 24px 0 rgba(80,209,245,0.09);
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: background 0.19s, box-shadow 0.18s, transform 0.17s;
  display: inline-block;
}
.cta:hover, .cta:focus {
  background: linear-gradient(90deg, #50D1F5 30%, #0C233F 100%);
  color: #fff;
  box-shadow: 0 2px 18px 0 rgba(80,209,245,0.19);
  transform: translateY(-2px) scale(1.04);
}

/* --- FOOTER --- */
footer {
  background: linear-gradient(90deg, #fff 70%, #eaf6fb 100%);
  border-top: 1.5px solid #E0F7FB;
}
footer .container {
  padding-bottom: 20px;
  padding-top: 28px;
}
footer .content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}
.footer-logo {
  flex: 0 0 90px;
}
.footer-logo img {
  height: 46px;
}
.footer-nav, .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a, .footer-legal a {
  color: #0C233F;
  font-size: 0.98rem;
}
.footer-nav a:hover, .footer-legal a:hover {
  color: #50D1F5;
}
.footer-contact-short {
  font-size: 0.95rem;
  color: #1e324f;
  line-height: 1.6;
}
@media (max-width: 900px) {
  footer .content-wrapper {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* --- TABLES --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 1rem;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1.5px 6px rgba(80,209,245,0.08);
}
th, td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid #f0f1f2;
}
th {
  background: #E0F7FB;
  color: #0C233F;
  font-weight: 700;
}
tr:last-child td {
  border-bottom: none;
}

/* --- FORM ELEMENTS --- */
input, textarea, select {
  font-family: 'Roboto', Arial, sans-serif;
  padding: 8px 12px;
  border: 1.2px solid #c0dcef;
  border-radius: 14px;
  font-size: 1rem;
  margin-bottom: 12px;
  background: #f7fafc;
  transition: border 0.16s;
}
input:focus, textarea:focus, select:focus {
  border: 1.5px solid #50D1F5;
  outline: none;
}

label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 6px;
}

/* --- ADDITIONAL LAYOUT CLASSES --- */
.text-section {
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.certifications, .experience-highlights {
  padding: 12px 0;
  color: #166991;
  font-size: 0.99rem;
}

.popular-tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.popular-tags span {
  background: #E0F7FB;
  color: #0C233F;
  font-size: 0.93rem;
  border-radius: 10px;
  padding: 4px 10px;
}

/* --- MOBILE MENU --- */
.mobile-menu-toggle {
  display: none;
  position: absolute;
  right: 24px;
  top: 20px;
  z-index: 125;
  background: linear-gradient(120deg, #50D1F5 80%, #0C233F 100%);
  border-radius: 50%;
  font-size: 2rem;
  width: 48px;
  height: 48px;
  color: #fff;
  box-shadow: 0 2px 10px 0 rgba(80,209,245,0.14);
  border: none;
  align-items: center;
  justify-content: center;
}
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(12,35,63,0.92);
  color: #fff;
  z-index: 500;
  transform: translateX(-102vw);
  transition: transform 0.4s cubic-bezier(.68,-0.55,.27,1.55);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 28px;
  padding-left: 0;
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  align-self: flex-end;
  margin: 12px 32px 12px 0;
  background: #50D1F5;
  color: #fff;
  font-size: 2.3rem;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 2px 10px 0 rgba(80,209,245,0.19);
  transition: background 0.21s;
}
.mobile-menu-close:hover,
.mobile-menu-close:focus {
  background: #0C233F;
}
.mobile-nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 24px 32px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.015em;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.09);
  transition: color 0.16s, background 0.14s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #50D1F5;
  background: rgba(255,255,255,0.03);
}
@media (max-width: 900px) {
  nav ul, nav .cta {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
}
@media (min-width: 901px) {
  .mobile-menu,
  .mobile-menu-toggle {
    display: none !important;
  }
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, #F7FAFC 70%, #D8F4FE 100%);
  color: #0C233F;
  box-shadow: 0 -2px 16px 0 rgba(12,35,63, 0.10);
  z-index: 510;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 24px 20px;
  font-size: 1rem;
  border-top: 2px solid #50D1F5;
  transition: transform 0.38s;
}
.cookie-banner.hide {
  transform: translateY(150%);
}
.cookie-banner .cookie-banner-text {
  flex: 1 1 0%;
  font-family: 'Roboto', Arial, sans-serif;
}
.cookie-banner .cookie-btns {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #0C233F;
  background: #E0F7FB;
  border-radius: 14px;
  border: none;
  padding: 10px 19px;
  margin-right: 4px;
  box-shadow: 0 2px 8px rgba(80,209,245,0.04);
  transition: background 0.12s, color 0.13s;
}
.cookie-btn:last-child { margin-right: 0; }
.cookie-btn.accept {
  background: linear-gradient(90deg, #50D1F5 60%, #0C233F 100%);
  color: #FFF;
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: linear-gradient(90deg, #0C233F 25%, #50D1F5 80%);
}
.cookie-btn.settings {
  background: #fff;
  border: 1px solid #50D1F5;
  color: #0C233F;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #E0F7FB;
  color: #50D1F5;
}

@media (max-width: 800px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 17px 10px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-btns { width: 100%; gap: 8px; }
}

/* COOKIE MODAL POPUP */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(12,35,63,0.38);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.cookie-modal.open {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal-content {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 24px 0 rgba(80,209,245,0.11), 0 2px 8px rgba(12,35,63,0.11);
  padding: 36px 28px 24px 28px;
  max-width: 420px;
  width: 97vw;
  color: #0C233F;
  font-family: 'Roboto', Arial, sans-serif;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-modal-content h3 {
  margin-bottom: 7px;
  font-family: 'Montserrat', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 7px 0;
}
.cookie-category label {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0;
}
.cookie-category input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 4px;
}
.category-essential label {
  color: #62bfbb;
}
.cookie-modal-btns {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #E0F7FB;
  color: #0C233F;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  border: none;
  transition: background 0.13s;
}
.cookie-modal-close:hover,
.cookie-modal-close:focus {
  background: #50D1F5;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-modal-content { padding: 18px 6vw 14px 6vw; }
}

/* --- RESPONSIVE GENERAL STYLES --- */
@media (max-width: 900px) {
  .container {
    padding: 0 10px;
  }
  section, .section {
    padding: 34px 8px;
  }
}
@media (max-width: 550px) {
  section, .section {
    padding: 16px 2px;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.25rem; }
}

/* --- UTILITY & HELPERS --- */
.text-center { text-align: center; }
.mt-32 { margin-top: 32px !important; }

/* --- ANIMATIONS & TRANSITIONS --- */
.card, .feature-item, .service-highlight-card, .service-item, .testimonial-card {
  transition: box-shadow 0.2s, transform 0.16s;
}
.cta, .cookie-btn, .cookie-modal-close {
  transition: background 0.18s, color 0.15s, box-shadow 0.13s, transform 0.12s;
}
.mobile-menu, .cookie-banner,
.mobile-menu-close, .mobile-menu-toggle {
  transition: background 0.18s, color 0.18s, box-shadow 0.13s, transform 0.3s;
}

/* --- Z-INDEX MANAGEMENT --- */
header, .mobile-menu, .cookie-banner, .cookie-modal { z-index: 101; }
.mobile-menu.open { z-index: 500; }
.cookie-banner { z-index: 510; }
.cookie-modal.open { z-index: 600; }

/* --- ACCESSIBILITY FOCUS STYLES --- */
a, button, input, textarea, select {
  outline: none;
}
a:focus, button:focus, .cta:focus, .cookie-btn:focus {
  box-shadow: 0 0 0 3px #50D1F5, 0 1.5px 2px #0C233F;
  outline: none;
}
section {
  padding: 15px;
}