/* --- CSS RESET & NORMALIZATION --- */
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 {
  height: 100%;
  box-sizing: border-box;
}
body {
  line-height: 1.6;
  min-height: 100vh;
  background: #F5FAFD;
  color: #1D2839;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: #18A0FB;
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 500;
}
a:hover, a:focus {
  color: #1D2839;
  text-decoration: underline dashed #18A0FB 2px;
}
ul, ol {
  margin-left: 24px;
  margin-bottom: 20px;
}
li {
  margin-bottom: 8px;
}

/* --- FONT FAMILY --- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, .cta-btn {
  font-family: 'Orbitron', 'Roboto', Arial, sans-serif;
}
section h1, section h2, .content-wrapper > h1, .content-wrapper > h2 {
  line-height: 1.18;
}

/* --- GENERAL TYPOGRAPHY SCALE --- */
h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #18A0FB;
  margin-bottom: 18px;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(24,160,251,0.10);
}
h2 {
  font-size: 2rem;
  color: #1D2839;
  font-weight: 700;
  margin-bottom: 16px;
  text-shadow: 0 2px 9px rgba(24,160,251,0.08);
}
h3 {
  font-size: 1.25rem;
  color: #18A0FB;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.subheadline {
  font-size: 1.2rem;
  color: #33618D;
  margin-bottom: 20px;
  font-family: 'Roboto', Arial, sans-serif;
  letter-spacing: 0.6px;
}
p {
  font-size: 1rem;
  color: #293B4A;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
}
.text-section p, .text-section ul, .text-section li {
  font-family: 'Roboto', Arial, sans-serif;
  color: #293B4A;
}
.text-section h3 {
  font-size: 1.1rem;
  color: #1D2839;
  margin-top: 18px;
}

/* --- LAYOUT CONTAINER --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* --- FLEXBOX PATTERNS & MANDATORY SPACING --- */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: none;
  border-radius: 24px;
}
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 3px 18px 0 rgba(24,160,251,0.13);
  margin-bottom: 20px;
  padding: 24px;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
  min-width: 270px;
  flex: 1 1 300px;
}
.card:hover {
  box-shadow: 0 5px 28px 0 rgba(29,40,57,0.18);
  transform: translateY(-8px) scale(1.02);
}
.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;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #E9F5FE;
  border-radius: 18px;
  box-shadow: 0 1px 10px rgba(24,160,251,0.10);
  color: #1D2839;
  margin-bottom: 20px;
  flex: 1 1 320px;
}
.testimonial-card p {
  color: #1D2839;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* --- HERO/MAIN CTA --- */
.cta-btn {
  display: inline-block;
  background: #FFBD21;
  color: #1D2839;
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 14px 32px;
  border: none;
  border-radius: 38px;
  box-shadow: 0 3px 16px rgba(255,189,33,0.08);
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 10px;
  transition: background 0.18s, color 0.2s, transform 0.15s;
  animation: playfulPop 0.7s cubic-bezier(0.42,0,0.58,1) 1;
}
.cta-btn:hover, .cta-btn:focus {
  background: #18A0FB;
  color: #fff;
  transform: scale(1.05) rotate(-2deg);
  box-shadow: 0 4px 22px 0 rgba(24,160,251,0.15);
}
@keyframes playfulPop {
  0% {transform: scale(0.85) rotate(-3deg);}
  60% {transform: scale(1.10) rotate(2deg);}
  90% {transform: scale(0.98) rotate(-2deg);}
  100% {transform: scale(1) rotate(0deg);}
}

/* --- HEADER & NAVIGATION --- */
header {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 10px 0 rgba(24,160,251,0.07);
  position: sticky;
  top: 0;
  z-index: 999;
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
header nav {
  display: flex;
  align-items: center;
  gap: 14px;
}
header nav a {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1rem;
  color: #1D2839;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  transition: background 0.18s, color 0.15s;
}
header nav a:hover, header nav a:focus {
  background: #18A0FB;
  color: #fff;
}
header .cta-btn {
  margin-left: 10px;
}
header img {
  max-height: 46px;
}

/* --- MOBILE NAV --- */
.mobile-menu-toggle {
  display: none;
  margin-left: 10px;
  background: #18A0FB;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 2rem;
  box-shadow: 0 2px 6px rgba(24,160,251,0.13);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 1200;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #FFBD21;
  color: #1D2839;
  transform: scale(1.07);
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left:0; right:0; bottom:0;
  background: #18A0FB;
  color: #fff;
  z-index: 1202;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 28px;
  transform: translateX(-100%);
  transition: transform 0.32s cubic-bezier(.83, .09, .21, 1);
  width: 100vw;
  height: 100vh;
}
.mobile-menu.open {
  display: flex;
  transform: translateX(0%);
  animation: slideInMenu 0.3s ease;
}
@keyframes slideInMenu {
  from {transform: translateX(-100%);}
  to {transform: translateX(0%);}
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  align-self: flex-end;
  margin: 26px 0 18px 0;
  cursor: pointer;
  transition: color 0.16s, transform 0.19s;
  z-index: 1203;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #FFBD21;
  transform: scale(1.22);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 16px;
  font-size: 1.32rem;
}
.mobile-nav a {
  color: #fff;
  padding: 13px 0 13px 12px;
  border-radius: 10px;
  font-family: 'Orbitron', Arial, sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
  background: transparent;
  transition: background 0.17s, color 0.17s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: #F5FAFD;
  color: #18A0FB;
}

/* --- HERO & FEATURE GRIDS --- */
.feature-grid, .industry-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 14px;
}
.feature-grid > div, .industry-grid > div {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 3px 16px 0 rgba(18,151,236,0.10);
  padding: 26px 18px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.23s, transform 0.18s;
  min-width: 240px;
  flex: 1 1 235px;
  margin-bottom: 20px;
  position: relative;
  min-height: 240px;
}
.feature-grid > div:hover, .industry-grid > div:hover {
  box-shadow: 0 5px 34px 0 rgba(24,160,251,0.17);
  transform: scale(1.04) rotate(-1deg);
}
.feature-grid img, .industry-grid img {
  height: 56px;
  width: 56px;
  margin-bottom: 12px;
  animation: iconFloat 3s infinite ease-in-out;
}
@keyframes iconFloat {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(-7px); }
  60%  { transform: translateY(3px); }
  100% { transform: translateY(0); }
}

/* --- BLOG & NEWS DESIGN --- */
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.blog-item {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(24,160,251,0.10);
  padding: 20px 18px 17px 18px;
  transition: box-shadow 0.18s, transform 0.17s;
}
.blog-item:hover {
  box-shadow: 0 5px 26px 0 rgba(24,160,251,0.14);
  transform: scale(1.03) rotate(1deg);
}
.featured-post {
  background: #FEF5E7;
  border-left: 8px solid #FFBD21;
  border-radius: 15px;
  padding: 22px 22px 20px 28px;
  box-shadow: 0 1px 11px 0 rgba(255,189,33,0.11);
  margin-top: 27px;
  margin-bottom: 20px;
}
.featured-post h3 {
  color: #E3680A;
  text-shadow: none;
}

/* --- INDUSTRY CASES --- */
.industry-case {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 24px 20px;
  background: #FFF;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(18,151,236,0.09);
  margin-bottom: 20px;
}
.industry-case img {
  width: 48px;
  height: 48px;
}

/* --- NEWS LIST --- */
.news-list {
  list-style: disc outside;
  font-size: 1.06rem;
}

/* --- MAP/ADDRESS ICONS --- */
.text-section img, .map img {
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 9px;
  vertical-align: middle;
}
.map {
  background: #E9F5FE;
  border-radius: 10px;
  padding: 16px;
  margin-left: 0;
  font-size: 1.01rem;
}

/* --- FOOTER --- */
footer {
  background: #1D2839;
  color: #fff;
  padding: 40px 0 24px 0;
  margin-top: 60px;
  width: 100%;
}
footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-nav nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a {
  color: #fff;
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.22s, text-decoration 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus {
  color: #18A0FB;
  text-decoration: underline dashed #18A0FB 2px;
}
.footer-brand img {
  height: 42px;
  margin-bottom: 14px;
}
.footer-contact p, .footer-contact a {
  color: #F5FAFD;
  font-size: 0.97rem;
  margin-bottom: 6px;
}
.footer-contact a {
  text-decoration: underline;
  color: #FFBD21;
  font-weight: 500;
}

/* --- COOKIE CONSENT BANNER --- */
.cookie-banner {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 20px;
  background: #FFF;
  color: #1D2839;
  z-index: 3000;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(29,40,57,0.14);
  padding: 24px 25px 20px 25px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  transition: opacity 0.33s;
}
.cookie-banner p {
  flex: 1 1 220px;
  margin-bottom: 0;
  color: #1D2839;
}
.cookie-actions {
  display: flex;
  gap: 16px;
}
.cookie-btn {
  font-family: 'Orbitron', Arial, sans-serif;
  border: none;
  border-radius: 28px;
  padding: 10px 28px;
  font-size: 1.04rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.17s, color 0.15s, transform 0.13s;
  margin-bottom: 0;
}
.cookie-accept {
  background: #18A0FB;
  color: #fff;
}
.cookie-accept:hover, .cookie-accept:focus {
  background: #1D2839;
  color: #FFBD21;
  transform: scale(1.04);
}
.cookie-reject {
  background: #FEE7D1;
  color: #E3680A;
}
.cookie-reject:hover, .cookie-reject:focus {
  background: #FFBD21;
  color: #1D2839;
}
.cookie-settings {
  background: #fff;
  color: #18A0FB;
  border: 2px solid #18A0FB;
}
.cookie-settings:hover, .cookie-settings:focus {
  background: #18A0FB;
  color: #fff;
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(29,40,57,0.51);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.27s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal-content {
  background: #fff;
  color: #1D2839;
  border-radius: 18px;
  box-shadow: 0 8px 36px 0 rgba(29,40,57,0.18);
  max-width: 400px;
  width: 94vw;
  padding: 36px 28px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cookie-modal-content h2 {
  font-size: 1.45rem;
  color: #18A0FB;
  margin-bottom: 8px;
  font-family: 'Orbitron', Arial, sans-serif;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F5FAFD;
  border-radius: 10px;
  padding: 14px 15px 14px 18px;
  margin-bottom: 8px;
}
.cookie-category label {
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 1.03rem;
  color: #1D2839;
}
.category-switch {
  position: relative;
  width: 50px;
  height: 29px;
}
.category-switch input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
}
.category-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #D9EFFC;
  border-radius: 29px;
  transition: background 0.2s;
}
.category-switch input:checked + .category-slider {
  background: #18A0FB;
}
.category-slider:before {
  content: '';
  position: absolute;
  left: 5px;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s;
}
.category-switch input:checked + .category-slider:before {
  transform: translateX(19px);
}
.cookie-modal-content .cookie-actions {
  margin-top: 10px;
  justify-content: flex-end;
}

/* --- BUTTONS & INTERACTIVE --- */
button, .cta-btn, .cookie-btn {
  outline: none;
}
button:active, .cta-btn:active, .cookie-btn:active {
  transform: scale(0.97);
}

/* --- MISC & MICRO-INTERACTIONS --- */
.feature-grid > div:hover img, .industry-grid > div:hover img {
  animation-play-state: paused;
  filter: drop-shadow(0 0 16px #FFBD21);
}
.card:hover::after, .blog-item:hover::after {
  content: '';
  position: absolute;
  right: 14px; bottom: 14px;
  width: 18px; height: 18px;
  background: #FFBD21;
  border-radius: 50%;
  opacity: .21;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1060px) {
  .container {
    max-width: 98vw;
    padding: 0 10px;
  }
}
@media (max-width: 900px) {
  .feature-grid, .industry-grid, .footer .container{
    gap: 14px;
  }
  .feature-grid > div, .industry-grid > div {
    min-width: 140px;
    padding: 17px 8px 14px 8px;
  }
  .footer-contact {
    max-width: 100vw;
    overflow-wrap: break-word;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.3rem; }
  .section {
    padding: 25px 8px;
    border-radius: 16px;
    margin-bottom: 44px;
  }
  .feature-grid, .industry-grid {
    flex-direction: column;
    gap: 15px;
  }
  .feature-grid > div, .industry-grid > div {
    margin-bottom: 11px;
    min-width: 90vw;
  }
  .content-grid {
    flex-direction: column;
    gap: 11px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 11px;
  }
  .text-image-section, .industry-case {
    flex-direction: column;
    gap: 15px;
  }
  header .container {
    flex-direction: row;
    gap: 9px;
  }
  header nav {
    display: none;
  }
  .cta-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
  .mobile-menu-toggle {
    display: inline-block;
  }
  .footer .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .cookie-banner {
    flex-direction: column;
    gap: 10px;
    left: 4px; right: 4px; padding: 18px 12px;
  }
  .cookie-modal-content {padding: 22px 8px 22px 8px;}
}
@media (max-width: 520px) {
  h1 {font-size: 1.25rem;}
  h2 {font-size: 1.06rem;}
  .card, .card-container, .feature-grid > div, .industry-grid > div { min-width: 90vw; }
  .container {padding: 0 2px;}
}

/* --- PRINT STYLES --- */
@media print {
  * { color: #111 !important; background: #fff !important; }
  a { color: #111 !important; text-decoration: underline; }
  .mobile-menu, .cookie-banner, .cookie-modal, .cta-btn, header button, nav { display: none !important; }
}

/* --- END OF PLAYFUL_DYNAMIC BLOOMYGLEN STYLES --- */
